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.AdminNotifySender = {
10 'b46cf6d1278a6e8ba1e1fb3290ad9166' :"Add / Edit Sender",
11 'ce8ae9da5b7cd6c3df2929543a9af92d' :"Email",
12 '7e240928383acb93e5066a6149430337' :"Pool Name",
13 'ea4788705e6873b424c65e91c2846b19' :"Cancel",
14 'e253f01e45700c07327115a5e6d677bf' :"Is Active?",
15 'c9cc8cce247e49bae79f15173ce97354' :"Save"
18 'is_active_fieldLabel' : 'e253f01e45700c07327115a5e6d677bf' /* Is Active? */ ,
19 'poolname_fieldLabel' : '7e240928383acb93e5066a6149430337' /* Pool Name */ ,
20 'email_fieldLabel' : 'ce8ae9da5b7cd6c3df2929543a9af92d' /* Email */
26 show : function(data, cb)
34 this.dialog.show.apply(this.dialog, Array.prototype.slice.call(arguments).slice(2));
37 this.form.setValues(data);
38 this.form.fireEvent('actioncomplete', this.form, { type: 'setdata', data: data });
46 this.dialog = Roo.factory({
47 xtype : 'LayoutDialog',
53 title : _this._strings['b46cf6d1278a6e8ba1e1fb3290ad9166'] /* Add / Edit Sender */,
58 xtype : 'LayoutRegion',
65 text : _this._strings['ea4788705e6873b424c65e91c2846b19'] /* Cancel */,
67 click : function (_self, e)
78 text : _this._strings['c9cc8cce247e49bae79f15173ce97354'] /* Save */,
80 click : function (_self, e)
83 _this.form.doAction("submit");
93 xtype : 'ContentPanel',
102 style : 'margin:10px;',
103 url : baseURL + '/Roo/core_notify_sender',
105 actioncomplete : function(_self,action)
107 if (action.type == 'setdata') {
109 if (_this.data.clone_of) {
110 _this.dialog.el.mask("Loading");
111 this.load({ method: 'GET', params: { '_id' : _this.data.clone_of }});
115 if (action.type == 'load') {
116 _this.dialog.el.unmask();
121 if (action.type =='submit') {
123 _this.dialog.el.unmask();
129 _this.callback.call(_this, action.result.data);
135 actionfailed : function (_self, action)
137 _this.dialog.el.unmask();
139 Pman.standardActionFailed(_self, action);
141 rendered : function (form)
152 fieldLabel : _this._strings['ce8ae9da5b7cd6c3df2929543a9af92d'] /* Email */,
162 fieldLabel : _this._strings['7e240928383acb93e5066a6149430337'] /* Pool Name */,
170 fieldLabel : _this._strings['e253f01e45700c07327115a5e6d677bf'] /* Is Active? */,