PHP8
[Pman.BAdmin] / Pman.Dialog.BAdminEmailPreview.bjs
1 {
2  "name" : "Pman.Dialog.BAdminEmailPreview",
3  "parent" : "",
4  "title" : "Pman.Dialog.BAdminEmailPreview",
5  "path" : "/home/johns/gitlive/Pman.BAdmin/Pman.Dialog.BAdminEmailPreview.bjs",
6  "permname" : "",
7  "modOrder" : "001",
8  "strings" : {
9   "10e0d90d01ee3b134ee40b7ad31566a4" : "Message Preview",
10   "4cd8413207629a963225f4314b53adcd" : "Plain",
11   "d3d2e617335f08df83599665eef8a418" : "Close",
12   "4c4ad5fca2e7a3f74dbb1ced00381aa4" : "HTML"
13  },
14  "items" : [
15   {
16    "listeners" : {
17     "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}"
18    },
19    "xtype" : "Modal",
20    "Boolean fitwindow" : true,
21    "$ xns" : "Roo.bootstrap",
22    "String title" : "Message Preview",
23    "items" : [
24     {
25      "xtype" : "Border",
26      "$ xns" : "Roo.bootstrap.layout",
27      "items" : [
28       {
29        "String tabPosition" : "top",
30        "xtype" : "Region",
31        "$ xns" : "Roo.bootstrap.layout",
32        "Boolean alwaysShowTabs" : true,
33        "Boolean autoScroll" : true,
34        "* prop" : "center"
35       },
36       {
37        "listeners" : {
38         "render" : "function (_self)\n{\n    _this.panel = this;\n}"
39        },
40        "xtype" : "Content",
41        "String region" : "center",
42        "$ xns" : "Roo.bootstrap.panel",
43        "String title" : "Plain",
44        "Boolean autoScroll" : true
45       },
46       {
47        "listeners" : {
48         "render" : "function (_self)\n{\n    _this.hpanel = this;\n}"
49        },
50        "xtype" : "Content",
51        "String region" : "center",
52        "$ xns" : "Roo.bootstrap.panel",
53        "String title" : "HTML",
54        "Boolean autoScroll" : true,
55        "Boolean background" : true
56       }
57      ]
58     },
59     {
60      "listeners" : {
61       "click" : "function (_self, e)\n{\n    _this.dialog.hide();\n}"
62      },
63      "xtype" : "Button",
64      "$ xns" : "Roo.bootstrap",
65      "String html" : "Close",
66      "* prop" : "buttons[]",
67      "string name" : "close"
68     }
69    ]
70   }
71  ]
72 }