Pman.Dialog.BAdminEmailPreview.bjs
authorjohn <john@roojs.com>
Tue, 9 Jan 2018 14:26:25 +0000 (22:26 +0800)
committerjohn <john@roojs.com>
Tue, 9 Jan 2018 14:26:25 +0000 (22:26 +0800)
Pman.Dialog.BAdminEmailPreview.js

Pman.Dialog.BAdminEmailPreview.bjs
Pman.Dialog.BAdminEmailPreview.js

index 15b902c..37180a2 100644 (file)
      "$ xns" : "Roo.bootstrap.layout",
      "items" : [
       {
+       "listeners" : {
+        "render" : "function (_self)\n{\n    _this.panel = _self;\n}"
+       },
        "xtype" : "Content",
        "$ xns" : "Roo.bootstrap.panel",
        "String title" : "Plain"
       },
       {
+       "listeners" : {
+        "render" : "function (_self)\n{\n    _this.hpanel = _self;\n}"
+       },
        "xtype" : "Content",
        "$ xns" : "Roo.bootstrap.panel",
        "String title" : "HTML"
index c661fc2..264d646 100644 (file)
@@ -72,12 +72,24 @@ Roo.apply(Pman.Dialog.BAdminEmailPreview.prototype, {
        {
         xtype : 'Content',
         title : _this._strings['4cd8413207629a963225f4314b53adcd'] /* Plain */,
+        listeners : {
+         render : function (_self)
+          {
+              _this.panel = _self;
+          }
+        },
         xns : Roo.bootstrap.panel,
         '|xns' : 'Roo.bootstrap.panel'
        },
        {
         xtype : 'Content',
         title : _this._strings['4c4ad5fca2e7a3f74dbb1ced00381aa4'] /* HTML */,
+        listeners : {
+         render : function (_self)
+          {
+              _this.hpanel = _self;
+          }
+        },
         xns : Roo.bootstrap.panel,
         '|xns' : 'Roo.bootstrap.panel'
        }