Pman.Dialog.CoreNotifyRecurKeywords.bjs
authorEdward <edward@roojs.com>
Mon, 4 May 2015 08:14:43 +0000 (16:14 +0800)
committerEdward <edward@roojs.com>
Mon, 4 May 2015 08:14:43 +0000 (16:14 +0800)
Pman.Dialog.CoreNotifyRecurKeywords.js

Pman.Dialog.CoreNotifyRecurKeywords.bjs
Pman.Dialog.CoreNotifyRecurKeywords.js

index fa44121..14440ac 100644 (file)
@@ -44,7 +44,7 @@
      "items" : [
       {
        "listeners" : {
-        "|actioncomplete" : "function (_self, action)\n{\n  if (action.type == 'setdata') {\n        \n        if(_this.data.id){\n            _this.dialog.el.mask(\"Loading\");\n            this.load({ method: 'GET', params: { '_id' : _this.data.id }}); \n        }\n        \n        return;\n    }\n    if (action.type == 'load') {\n        _this.dialog.el.unmask();\n        return;\n    }\n    if (action.type == 'submit' ) {\n        _this.dialog.el.unmask();\n        _this.dialog.hide();\n\n        if (_this.callback) {\n           _this.callback.call(_this, action.result.data);\n        }\n        _this.form.reset();\n    }\n}\n",
+        "|actioncomplete" : "function (_self, action)\n{\n  if (action.type == 'setdata') {\n        \n        if(_this.data.id){\n            _this.dialog.el.mask(\"Loading\");\n            this.load({ method: 'GET', params: { '_id' : _this.data.id }}); \n        }\n        \n        return;\n    }\n    if (action.type == 'load') {\n        \n    \n        _this.dialog.el.unmask();\n        return;\n    }\n    if (action.type == 'submit' ) {\n        _this.dialog.el.unmask();\n        _this.dialog.hide();\n\n        if (_this.callback) {\n           _this.callback.call(_this, action.result.data);\n        }\n        _this.form.reset();\n    }\n}\n",
         "|rendered" : "function (form)\n{\n   _this.form = form;\n}"
        },
        "$ url" : "baseURL + '/Roo/Core_notify_recur.php'",
index 75218b6..6f7071b 100644 (file)
@@ -118,6 +118,8 @@ Pman.Dialog.CoreNotifyRecurKeywords = {
                   return;
               }
               if (action.type == 'load') {
+                  
+              
                   _this.dialog.el.unmask();
                   return;
               }