PHP8
[Pman.BAdmin] / Pman.Dialog.BAdminEmailPreview.bjs
index c7715b9..68d313e 100644 (file)
@@ -8,14 +8,16 @@
  "strings" : {
   "10e0d90d01ee3b134ee40b7ad31566a4" : "Message Preview",
   "4cd8413207629a963225f4314b53adcd" : "Plain",
+  "d3d2e617335f08df83599665eef8a418" : "Close",
   "4c4ad5fca2e7a3f74dbb1ced00381aa4" : "HTML"
  },
  "items" : [
   {
    "listeners" : {
-    "show" : "function (_self)\n{\n/*\n    _this.panel.load({\n        url: baseURL + '/Core/MessagePreview', \n        params  : {\n            _id : _this.data.id,\n            _table : _this.data.module\n        },\n        method : 'GET'\n    });\n    \n    _this.hpanel.load({\n        url: baseURL + '/Core/MessagePreview', \n        params  : {\n            _as_html : 1,\n            _id : _this.data.id,\n            _table : _this.data.module\n        },\n        method : 'GET'\n    });\n*/\n}"
+    "show" : "function (_self)\n{\n\n    _this.panel.load({\n        url: baseURL + '/Core/MessagePreview', \n        params  : {\n            _id : _this.data.id,\n            _table : _this.data.module\n        },\n        method : 'GET'\n    });\n    \n    _this.hpanel.load({\n        url: baseURL + '/Core/MessagePreview', \n        params  : {\n            _as_html : 1,\n            _id : _this.data.id,\n            _table : _this.data.module\n        },\n        method : 'GET'\n    });\n\n}"
    },
    "xtype" : "Modal",
+   "Boolean fitwindow" : true,
    "$ xns" : "Roo.bootstrap",
    "String title" : "Message Preview",
    "items" : [
      "xtype" : "Border",
      "$ xns" : "Roo.bootstrap.layout",
      "items" : [
+      {
+       "String tabPosition" : "top",
+       "xtype" : "Region",
+       "$ xns" : "Roo.bootstrap.layout",
+       "Boolean alwaysShowTabs" : true,
+       "Boolean autoScroll" : true,
+       "* prop" : "center"
+      },
       {
        "listeners" : {
         "render" : "function (_self)\n{\n    _this.panel = this;\n}"
        },
        "xtype" : "Content",
+       "String region" : "center",
        "$ xns" : "Roo.bootstrap.panel",
-       "String title" : "Plain"
+       "String title" : "Plain",
+       "Boolean autoScroll" : true
       },
       {
        "listeners" : {
         "render" : "function (_self)\n{\n    _this.hpanel = this;\n}"
        },
        "xtype" : "Content",
+       "String region" : "center",
        "$ xns" : "Roo.bootstrap.panel",
-       "String title" : "HTML"
+       "String title" : "HTML",
+       "Boolean autoScroll" : true,
+       "Boolean background" : true
       }
      ]
+    },
+    {
+     "listeners" : {
+      "click" : "function (_self, e)\n{\n    _this.dialog.hide();\n}"
+     },
+     "xtype" : "Button",
+     "$ xns" : "Roo.bootstrap",
+     "String html" : "Close",
+     "* prop" : "buttons[]",
+     "string name" : "close"
     }
    ]
   }