php7 fixes
[Pman.Builder] / Pman.Dialog.BuilderViewCode.js
index 99e0c59..ed66ba2 100644 (file)
@@ -50,14 +50,16 @@ Pman.Dialog.BuilderViewCode = {
                     _this.previewContentPanel.setContent(
                         '<PRE>' + Roo.util.Format.htmlEncode(_this.data.jsource) + '</PRE>'
                     );
-                        
-                    
-                      
+                         
                     _this.jsonContentPanel.setContent(
                         '<PRE>' + Roo.util.Format.htmlEncode(_this.data.json) + '</PRE>'
                     );
+                    
+                     _this.htmlContentPanel.setContent(
+                        '<PRE>' + Roo.util.Format.htmlEncode(_this.data.html) + '</PRE>'
+                    );
                        
-                       this.layout.showPanel(0)     
+                     this.layout.showPanel(0)     
                 }
             },
             background : true,
@@ -94,10 +96,25 @@ Pman.Dialog.BuilderViewCode = {
                         }
                     },
                     autoScroll : true,
-                    background : true,
+                    background : false,
                     fitToFrame : true,
                     region : 'center',
                     title : "JSON"
+                },
+                {
+                    xtype: 'ContentPanel',
+                    xns: Roo,
+                    listeners : {
+                        activate : function (_self)
+                        {
+                        _this.htmlContentPanel = _self;
+                        }
+                    },
+                    autoScroll : true,
+                    background : false,
+                    fitToFrame : true,
+                    region : 'center',
+                    title : "HTML"
                 }
             ],
             center : {