Pman.Tab.AdminContactsGroupRight.bjs
authorChris <chris@roojs.com>
Thu, 13 Sep 2012 07:42:22 +0000 (15:42 +0800)
committerChris <chris@roojs.com>
Thu, 13 Sep 2012 07:42:22 +0000 (15:42 +0800)
Pman.Tab.AdminContactsGroupRight.js

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

index 71d79b1..6704f79 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 + '/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}"
                                     },
                                     "text": "Save",
                                     "xtype": "Button",
index 04eb13e..dd68e25 100644 (file)
@@ -221,7 +221,7 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({
                                         success : function() {
                                             // do nothing
                                             
-                                            _this.grid.ds.remove(record);
+                                            //_this.grid.ds.remove(record);
                                             
                                         },
                                         failure : function()