2 "name" : "Pman.Dialog.BAdminEmailPreview",
4 "title" : "Pman.Dialog.BAdminEmailPreview",
5 "path" : "/home/johns/gitlive/Pman.BAdmin/Pman.Dialog.BAdminEmailPreview.bjs",
9 "10e0d90d01ee3b134ee40b7ad31566a4" : "Message Preview",
10 "4cd8413207629a963225f4314b53adcd" : "Plain",
11 "d3d2e617335f08df83599665eef8a418" : "Close",
12 "4c4ad5fca2e7a3f74dbb1ced00381aa4" : "HTML"
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}"
20 "Boolean fitwindow" : true,
21 "$ xns" : "Roo.bootstrap",
22 "String title" : "Message Preview",
26 "$ xns" : "Roo.bootstrap.layout",
29 "String tabPosition" : "top",
31 "$ xns" : "Roo.bootstrap.layout",
32 "Boolean alwaysShowTabs" : true,
33 "Boolean autoScroll" : true,
38 "render" : "function (_self)\n{\n _this.panel = this;\n}"
41 "$ xns" : "Roo.bootstrap.panel",
42 "String region" : "center",
43 "String title" : "Plain",
44 "Boolean autoScroll" : true
48 "render" : "function (_self)\n{\n _this.hpanel = this;\n}"
51 "$ xns" : "Roo.bootstrap.panel",
52 "String region" : "center",
53 "String title" : "HTML",
54 "Boolean autoScroll" : true,
55 "Boolean background" : true
61 "click" : "function (_self, e)\n{\n _this.activeForm.doAction('submit', {clientValidation: false});\n \n var activePanel = _this.region_border.getRegion('center').getActivePanel();\n var pos = _this.region_border.getRegion('center').panels.items.indexOf(activePanel);\n \n if(pos * 1 == 0){\n _this.dialog.hide();\n return;\n }\n \n var target = pos * 1 - 1;\n \n _this.region_border.showPanel(target);\n \n _this.region_border.getRegion('center').getActivePanel().el.scrollTo('top');\n}"
64 "$ xns" : "Roo.bootstrap",
65 "String html" : "Close",
66 "* prop" : "buttons[]",
67 "string name" : "close"