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.apply(this.dialog, Array.prototype.slice.call(arguments).slice(2));
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',
55 _id : _this.data.id || '',
56 template_name : _this.data.template_name || '',
57 _table : _this.data.module,
58 ontable : _this.data.ontable || '',
59 onid : _this.data.onid || '',
60 evtype : _this.data.evtype || ''
65 url: baseURL + '/Core/MessagePreview',
68 _id : _this.data.id || '',
69 template_name : _this.data.template_name || '',
70 _table : _this.data.module,
71 ontable : _this.data.ontable || '',
72 onid : _this.data.onid || '',
73 evtype : _this.data.evtype || ''
83 xtype : 'LayoutRegion',
92 text : _this._strings['e0aa021e21dddbd6d8cecec71e9cf564'] /* OK */,
94 click : function (_self, e)
105 xtype : 'ContentPanel',
109 title : _this._strings['4c4ad5fca2e7a3f74dbb1ced00381aa4'] /* HTML */,
111 render : function (_self)
113 _this.hpanel = _self;
120 xtype : 'ContentPanel',
124 title : _this._strings['4cd8413207629a963225f4314b53adcd'] /* Plain */,
126 render : function (_self)