Pman.Dialog.BAdminImportUrl.bjs
authorjohn <john@roojs.com>
Wed, 20 Dec 2017 04:06:18 +0000 (12:06 +0800)
committerjohn <john@roojs.com>
Wed, 20 Dec 2017 04:06:18 +0000 (12:06 +0800)
Pman.Dialog.BAdminImportUrl.js

Pman.Dialog.BAdminImportUrl.bjs
Pman.Dialog.BAdminImportUrl.js

index a0782c0..dbdea7e 100644 (file)
@@ -39,7 +39,7 @@
     },
     {
      "listeners" : {
-      "actioncomplete" : "function (_self, action)\n{\n     if (action.type == 'setdata') {\n        if(_this.data.target){\n            _this.form.url = baseURL + _this.data.target;\n        }\r\n       // _this.dialog.el.mask(\"Loading\");\r\n       if(_this.data.id*1 > 0) {\r\n           this.load({ method: 'GET', params: { '_id' : _this.data.id }});\n       }\r\n       \r\n       return;\r\n    }\r\n    if (action.type == 'load') {\r\n \r\n        return;\r\n    }\r\n    if (action.type =='submit') {\r\n    \r\n        //action.result.data\r\n        _this.dialog.hide();\r\n    //    Roo.log(_this.callback);\r\n         if (_this.callback) {\r\n            _this.callback.call(_this, action.result.data);\r\n         }\r\n         _this.form.reset();\r\n         return;\r\n    }\n}",
+      "actioncomplete" : "function (_self, action)\n{\n     if (action.type == 'setdata') {\n        if(_this.data.target){\n            _this.form.url = baseURL + _this.data.target;\n        }\r\n       // _this.dialog.el.mask(\"Loading\");\n       \r\n       if(_this.data.id*1 > 0) {\r\n           this.load({ method: 'GET', params: { '_id' : _this.data.id }});\n       }\r\n       \r\n       return;\r\n    }\r\n    if (action.type == 'load') {\r\n \r\n        return;\r\n    }\r\n    if (action.type =='submit') {\r\n    \r\n        //action.result.data\r\n        _this.dialog.hide();\r\n    //    Roo.log(_this.callback);\r\n         if (_this.callback) {\r\n            _this.callback.call(_this, action.result.data);\r\n         }\r\n         _this.form.reset();\r\n         return;\r\n    }\n}",
       "render" : "function (_self)\n{\n    _this.form = this;\n}"
      },
      "xtype" : "Form",
index b436e33..ed4a59e 100644 (file)
@@ -82,7 +82,8 @@ Roo.apply(Pman.Dialog.BAdminImportUrl.prototype, {
                 if(_this.data.target){
                     _this.form.url = baseURL + _this.data.target;
                 }\r
-               // _this.dialog.el.mask("Loading");\r
+               // _this.dialog.el.mask("Loading");
+               \r
                if(_this.data.id*1 > 0) {\r
                    this.load({ method: 'GET', params: { '_id' : _this.data.id }});
                }\r