Pman.Dialog.CoreProject.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 26 Oct 2018 04:45:22 +0000 (12:45 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 26 Oct 2018 04:45:22 +0000 (12:45 +0800)
Pman.Dialog.CoreProject.js

Pman.Dialog.CoreProject.bjs
Pman.Dialog.CoreProject.js

index 5bc2069..62a96f0 100644 (file)
@@ -77,7 +77,7 @@
         "|actioncomplete" : "function(_self,action)\n{\n    if (action.type == 'setdata') {\n       //_this.dialog.el.mask(\"Loading\");\n       if (_this.data.id) {\n           this.load({ method: 'GET', params: { '_id' : _this.data.id }});\n       }\n       return;\n    }\n    if (action.type == 'load') {\n        \n        return;\n    }\n    if (action.type =='submit') {\n    \n \n        _this.dialog.hide();\n    \n         if (_this.callback) {\n            _this.callback.call(_this, _this.form.getValues());\n         }\n         _this.form.reset();\n         return;\n    }\n}\n",
         "|rendered" : "function (form)\n{\n    _this.form= form;\n}\n"
        },
-       "$ url" : "baseURL + '/Roo/Projects.php'",
+       "$ url" : "baseURL + '/Roo/core_project'",
        "method" : "POST",
        "xtype" : "Form",
        "style" : "margin:10px;",
index e0ac85d..c462efe 100644 (file)
@@ -133,7 +133,7 @@ Pman.Dialog.CoreProject = {
         xtype : 'Form',
         method : 'POST',
         style : 'margin:10px;',
-        url : baseURL + '/Roo/Projects.php',
+        url : baseURL + '/Roo/core_project',
         listeners : {
          actioncomplete : function(_self,action)
           {