Pman.Tab.CoreOAuthClient.bjs
authorEdward <edward@roojs.com>
Wed, 25 Jun 2014 04:52:17 +0000 (12:52 +0800)
committerEdward <edward@roojs.com>
Wed, 25 Jun 2014 04:52:17 +0000 (12:52 +0800)
Pman.Tab.CoreOAuthClient.js

Pman.Tab.CoreOAuthClient.bjs
Pman.Tab.CoreOAuthClient.js

index 90a5910..544ed67 100644 (file)
@@ -51,7 +51,7 @@
                                         {
                                             "listeners": {
                                                 "beforeload": "function (_self, o){\n    o.params = o.params || {};\n\n}\n",
-                                                "update": "function (_self, record, operation)\n{\n    if (operation != Roo.data.Record.COMMIT) {\n        return;\n    }\n\n    if (!record.data.client_id.length || !record.data.client_secret.length) {\n        return;\n    }\n    \n    new Pman.Request({\n        url : baseURL + '/Core/Core_oauth_clients.php',\n        method : 'POST',\n        params : record.data,\n        success : function(res) {\n            _this.gird.footer.onClick('refresh');\n        }\n    });\n    \n}"
+                                                "update": "function (_self, record, operation)\n{\n    if (operation != Roo.data.Record.COMMIT) {\n        return;\n    }\n\n    if (!record.data.client_id.length || !record.data.client_secret.length) {\n        return;\n    }\n    \n    new Pman.Request({\n        url : baseURL + '/Roo/Core_oauth_clients.php',\n        method : 'POST',\n        params : record.data,\n        success : function(res) {\n            _this.gird.footer.onClick('refresh');\n        }\n    });\n    \n}"
                                             },
                                             "*prop": "dataSource",
                                             "remoteSort": true,
index 669c02c..c48061b 100644 (file)
@@ -84,7 +84,7 @@ Pman.Tab.CoreOAuthClient = new Roo.XComponent({
                                         }
                                         
                                         new Pman.Request({
-                                            url : baseURL + '/Core/Core_oauth_clients.php',
+                                            url : baseURL + '/Roo/Core_oauth_clients.php',
                                             method : 'POST',
                                             params : record.data,
                                             success : function(res) {