"strings" : {
"10e0d90d01ee3b134ee40b7ad31566a4" : "Message Preview",
"4cd8413207629a963225f4314b53adcd" : "Plain",
+ "d3d2e617335f08df83599665eef8a418" : "Close",
"4c4ad5fca2e7a3f74dbb1ced00381aa4" : "HTML"
},
"items" : [
"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" : [
"render" : "function (_self)\n{\n _this.panel = this;\n}"
},
"xtype" : "Content",
- "$ xns" : "Roo.bootstrap.panel",
"String region" : "center",
+ "$ xns" : "Roo.bootstrap.panel",
"String title" : "Plain",
"Boolean autoScroll" : true
},
"render" : "function (_self)\n{\n _this.hpanel = this;\n}"
},
"xtype" : "Content",
- "$ xns" : "Roo.bootstrap.panel",
"String region" : "center",
+ "$ xns" : "Roo.bootstrap.panel",
"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"
}
]
}