1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
5 Roo.namespace('Pman.Dialog');
7 Pman.Dialog.CoreEmailPreview = {
10 '4cd8413207629a963225f4314b53adcd' :"Plain",
11 '4c4ad5fca2e7a3f74dbb1ced00381aa4' :"HTML",
12 '006c82ffdd63692a84a259c4f8732842' :"Email Preview",
13 'e0aa021e21dddbd6d8cecec71e9cf564' :"OK"
19 show : function(data, cb)
27 this.dialog.show(this.data._el);
30 this.form.setValues(data);
31 this.form.fireEvent('actioncomplete', this.form, { type: 'setdata', data: data });
39 this.dialog = Roo.factory({
40 xtype : 'LayoutDialog',
45 title : _this._strings['006c82ffdd63692a84a259c4f8732842'] /* Email Preview */,
48 show : function (_self)
51 _self.layout.getRegion('center').showPanel(0);
53 url: baseURL + '/Core/MessagePreview',
56 _table : _this.data.module
61 url: baseURL + '/Core/MessagePreview',
65 _table : _this.data.module
75 xtype : 'LayoutRegion',
84 text : _this._strings['e0aa021e21dddbd6d8cecec71e9cf564'] /* OK */,
86 click : function (_self, e)
97 xtype : 'ContentPanel',
101 title : _this._strings['4cd8413207629a963225f4314b53adcd'] /* Plain */,
103 render : function (_self)
112 xtype : 'ContentPanel',
116 title : _this._strings['4c4ad5fca2e7a3f74dbb1ced00381aa4'] /* HTML */,
118 render : function (_self)
120 _this.hpanel = _self;