1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
5 Pman.Dialog.CoreImportUrl = {
10 show : function(data, cb)
18 this.dialog.show(this.data._el);
21 this.form.setValues(data);
22 this.form.fireEvent('actioncomplete', this.form, { type: 'setdata', data: data });
30 this.dialog = Roo.factory({
31 xtype: 'LayoutDialog',
43 xtype: 'ContentPanel',
51 actioncomplete : function (_self, action)
53 if (action.type == 'setdata') {
\r
54 // _this.dialog.el.mask("Loading");
\r
55 // if(_this.data.id*1 > 0)
\r
56 // this.load({ method: 'GET', params: { '_id' : _this.data.id }});
\r
60 if (action.type == 'load') {
\r
64 if (action.type =='submit') {
\r
66 //action.result.data
\r
67 _this.dialog.hide();
\r
68 // Roo.log(_this.callback);
\r
69 if (_this.callback) {
\r
70 _this.callback.call(_this, action.result.data);
\r
76 rendered : function (form)
82 style : 'margin:10px;',
99 xtype: 'LayoutRegion',
107 click : function (_self, e)
118 click : function (_self, e)
120 _this.form.doAction("submit");