Pman.Tab.AdminContactsGroupRight.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 14 Sep 2012 06:48:52 +0000 (14:48 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Sep 2012 06:48:52 +0000 (14:48 +0800)
Pman.Tab.AdminContactsGroupRight.js

Pman.Tab.AdminContactsGroupRight.bjs
Pman.Tab.AdminContactsGroupRight.js

index 3a24b15..1020844 100644 (file)
@@ -85,7 +85,7 @@
                             "items": [
                                 {
                                     "listeners": {
-                                        "click": "function (_self, e)\n{\n    \n    var params = {};\n    for(var i in _this.dataUpdate) {\n        params['dataUpdate[' + i + ']'] = _this.dataUpdate[i];\n    }\n    //Roo.log(params);return;\n    \n    new Pman.Request({\n        url : baseURL + '/GroupRights.php',\n        method :'POST',\n        params : params,\n        success : function() {\n            // do nothing\n            \n            //_this.grid.ds.remove(record);\n            \n        },\n        failure : function() \n        {\n            Roo.MessageBox.alert(\"Error\", \"saving failed\", function() {\n                _this.grid.footer.onClick('first');\n            });\n        }\n    });\n}"
+                                        "click": "function (_self, e)\n{\n    \n    var params = {};\n    for(var i in _this.dataUpdate) {\n        params['dataUpdate[' + i + ']'] = _this.dataUpdate[i];\n    }\n    //Roo.log(params);return;\n    \n    new Pman.Request({\n        url : baseURL + '/Admin/GroupRights.php',\n        method :'POST',\n        params : params,\n        success : function() {\n            // do nothing\n            \n            //_this.grid.ds.remove(record);\n            \n        },\n        failure : function() \n        {\n            Roo.MessageBox.alert(\"Error\", \"saving failed\", function() {\n                _this.grid.footer.onClick('first');\n            });\n        }\n    });\n}"
                                     },
                                     "text": "Save",
                                     "xtype": "Button",
index e7df607..381fdeb 100644 (file)
@@ -238,7 +238,7 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({
                                     //Roo.log(params);return;
                                     
                                     new Pman.Request({
-                                        url : baseURL + '/GroupRights.php',
+                                        url : baseURL + '/Admin/GroupRights.php',
                                         method :'POST',
                                         params : params,
                                         success : function() {