"items": [
{
"listeners": {
- "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}"
+ "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 dataAdd : _this.dataAdd\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",
url : baseURL + '/GroupRights.php',
method :'POST',
params : {
- dataUpdate : _this.dataUpdate
+ dataUpdate : _this.dataUpdate,
+ dataAdd : _this.dataAdd
},
success : function() {
// do nothing