X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=Pman.Dialog.CoreEmailPreview.bjs;h=addc15a3d2e381b12bccd48113e968fafefabb09;hp=da3c29b5c56935080a0f1b98989b8fe0c096e9a2;hb=586e4eb470252d837ba18b67e4c3c1702131fd1d;hpb=da5147997e32b8f45f262843dd7c827a25b7751e diff --git a/Pman.Dialog.CoreEmailPreview.bjs b/Pman.Dialog.CoreEmailPreview.bjs index da3c29b5..addc15a3 100644 --- a/Pman.Dialog.CoreEmailPreview.bjs +++ b/Pman.Dialog.CoreEmailPreview.bjs @@ -1,10 +1,69 @@ { - "id": "roo-file-316", - "name": "Pman.Dialog.CoreEmailPreview", - "parent": "", - "title": "", - "path": "/home/edward/gitlive/Pman.Core/Pman.Dialog.CoreEmailPreview.bjs", - "items": false, - "permname": "", - "modOrder": "001" + "name" : "Pman.Dialog.CoreEmailPreview", + "parent" : "", + "title" : "", + "path" : "/home/johns/gitlive/Pman.Core/Pman.Dialog.CoreEmailPreview.bjs", + "permname" : "", + "modOrder" : "001", + "strings" : { + "4cd8413207629a963225f4314b53adcd" : "Plain", + "4c4ad5fca2e7a3f74dbb1ced00381aa4" : "HTML", + "006c82ffdd63692a84a259c4f8732842" : "Email Preview", + "e0aa021e21dddbd6d8cecec71e9cf564" : "OK" + }, + "items" : [ + { + "listeners" : { + "show" : "function (_self)\n{\n \n _self.layout.getRegion('center').showPanel(0);\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 _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}" + }, + "shadow" : true, + "autoScroll" : true, + "title" : "Email Preview", + "xtype" : "LayoutDialog", + "width" : 1200, + "$ xns" : "Roo", + "closable" : true, + "height" : 800, + "items" : [ + { + "autoScroll" : true, + "xtype" : "LayoutRegion", + "tabPosition" : "top", + "$ xns" : "Roo", + "* prop" : "center" + }, + { + "listeners" : { + "render" : "function (_self)\n{\n _this.panel = _self;\n}" + }, + "region" : "center", + "fitToFrame" : true, + "title" : "Plain", + "xtype" : "ContentPanel", + "fitContainer" : true, + "$ xns" : "Roo" + }, + { + "listeners" : { + "render" : "function (_self)\n{\n _this.hpanel = _self;\n}" + }, + "region" : "center", + "fitToFrame" : true, + "title" : "HTML", + "xtype" : "ContentPanel", + "fitContainer" : true, + "$ xns" : "Roo" + }, + { + "listeners" : { + "click" : "function (_self, e)\n{\n _this.dialog.hide();\n}" + }, + "text" : "OK", + "xtype" : "Button", + "$ xns" : "Roo", + "* prop" : "buttons[]" + } + ] + } + ] } \ No newline at end of file