From e0a01142975955f036e6d71bd67f3d237f46b261 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 12 May 2011 18:15:28 +0800 Subject: [PATCH] Pman.Tab.AdminContacts.bjs --- Pman.Tab.AdminContacts.bjs | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/Pman.Tab.AdminContacts.bjs b/Pman.Tab.AdminContacts.bjs index 453a7ba..3a8a204 100644 --- a/Pman.Tab.AdminContacts.bjs +++ b/Pman.Tab.AdminContacts.bjs @@ -83,26 +83,6 @@ "xtype": "Toolbar", "|xns": "Roo", "items": [ - { - "listeners": { - "|click": "function()\n{\n \n _this.dialog.show( { id : 0 } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n" - }, - "cls": "x-btn-text-icon", - "text": "Add", - "xtype": "Button", - "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'", - "|xns": "Roo.Toolbar" - }, - { - "listeners": { - "|click": "function()\n{\n \n Pman.Dialog.PersonBulkAdd.show( { id : 0 } , function() {\n _this.grid.footer.onClick('first');\n }); \n}\n" - }, - "cls": "x-btn-text-icon", - "text": "Bulk Add", - "xtype": "Button", - "|icon": "Roo.rootURL + 'images/default/dd/drop-add.gif'", - "|xns": "Roo.Toolbar" - }, { "listeners": { "|click": "function()\n{\n var s = _this.grid.getSelectionModel().getSelections();\n if (!s.length || (s.length > 1)) {\n Roo.MessageBox.alert(\"Error\", s.length ? \"Select only one Row\" : \"Select a Row\");\n return;\n }\n \n _this.dialog.show(s[0].data, function() {\n _this.grid.footer.onClick('first');\n }); \n \n}\n" -- 2.39.2