php7 fixes
[Pman.Builder] / Pman.Dialog.BuilderViewCode.bjs
index c92ba25..92bec55 100644 (file)
@@ -7,7 +7,7 @@
     "items": [
         {
             "listeners": {
-                "|show": "function (_self)\n{\n    if (_this.isBuilder) {\n       return;\n    }\n    _this.dialog = _self;        \n    this.getLayout().beginUpdate();\n     \n    this.resizeTo( Roo.lib.Dom.getViewWidth() - 70, Roo.lib.Dom.getViewHeight() - 70);\n    this.getLayout().getRegion('center').resizeTo(Roo.lib.Dom.getViewWidth() - ( 70 + 50 ));\n \n    \n    this.moveTo(35,35);\n    \n    this.getLayout().endUpdate();\n    \n    _this.previewContentPanel.setContent(\n        '<PRE>' + Roo.util.Format.htmlEncode(_this.data.jsource) + '</PRE>'\n    );\n        \n    \n      \n    _this.jsonContentPanel.setContent(\n        '<PRE>' + Roo.util.Format.htmlEncode(_this.data.json) + '</PRE>'\n    );\n    \n     _this.htmlContentPanel.setContent(\n        '<PRE>' + Roo.util.Format.htmlEncode(_this.data.html) + '</PRE>'\n    );\n       \n       this.layout.showPanel(0)     \n}"
+                "|show": "function (_self)\n{\n    if (_this.isBuilder) {\n       return;\n    }\n    _this.dialog = _self;        \n    this.getLayout().beginUpdate();\n     \n    this.resizeTo( Roo.lib.Dom.getViewWidth() - 70, Roo.lib.Dom.getViewHeight() - 70);\n    this.getLayout().getRegion('center').resizeTo(Roo.lib.Dom.getViewWidth() - ( 70 + 50 ));\n \n    \n    this.moveTo(35,35);\n    \n    this.getLayout().endUpdate();\n    \n    _this.previewContentPanel.setContent(\n        '<PRE>' + Roo.util.Format.htmlEncode(_this.data.jsource) + '</PRE>'\n    );\n         \n    _this.jsonContentPanel.setContent(\n        '<PRE>' + Roo.util.Format.htmlEncode(_this.data.json) + '</PRE>'\n    );\n    \n     _this.htmlContentPanel.setContent(\n        '<PRE>' + Roo.util.Format.htmlEncode(_this.data.html) + '</PRE>'\n    );\n       \n     this.layout.showPanel(0)     \n}"
             },
             "background": true,
             "closable": false,