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

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

index 11c429f..79bf8a0 100644 (file)
@@ -85,7 +85,7 @@
                             "items": [
                                 {
                                     "listeners": {
-                                        "click": "function (_self, e)\n{\n    \n    new Pman.Request({\n        url : baseURL + '/Roo/GroupRights.php',\n        method :'POST',\n        params : _this.dataUpdate,\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    new Pman.Request({\n        url : baseURL + '/GroupRights.php',\n        method :'POST',\n        params : {\n            dataUpdate : _this.dataUpdate\n        },\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 8ba2b1e..ba8227b 100644 (file)
@@ -219,9 +219,11 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({
                                 {
                                     
                                     new Pman.Request({
-                                        url : baseURL + '/Roo/GroupRights.php',
+                                        url : baseURL + '/GroupRights.php',
                                         method :'POST',
-                                        params : _this.dataUpdate,
+                                        params : {
+                                            dataUpdate : _this.dataUpdate
+                                        },
                                         success : function() {
                                             // do nothing