From 37bc3748086e8862d9f3329912dd01728021c98b Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 13 Sep 2012 13:03:41 +0800 Subject: [PATCH] Pman.Tab.AdminContactsGroupRight.bjs Pman.Tab.AdminContactsGroupRight.js --- Pman.Tab.AdminContactsGroupRight.bjs | 20 ----------------- Pman.Tab.AdminContactsGroupRight.js | 32 ---------------------------- 2 files changed, 52 deletions(-) diff --git a/Pman.Tab.AdminContactsGroupRight.bjs b/Pman.Tab.AdminContactsGroupRight.bjs index b775b33..15bc41f 100644 --- a/Pman.Tab.AdminContactsGroupRight.bjs +++ b/Pman.Tab.AdminContactsGroupRight.bjs @@ -194,26 +194,6 @@ "|xns": "Roo.Toolbar", "xtype": "Fill" }, - { - "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" diff --git a/Pman.Tab.AdminContactsGroupRight.js b/Pman.Tab.AdminContactsGroupRight.js index 22b22a8..5b8f34e 100644 --- a/Pman.Tab.AdminContactsGroupRight.js +++ b/Pman.Tab.AdminContactsGroupRight.js @@ -621,38 +621,6 @@ Pman.Tab.AdminContactsGroupRight = new Roo.XComponent({ xtype: 'Fill', xns: Roo.Toolbar }, - { - xtype: 'Button', - xns: Roo.Toolbar, - listeners : { - click : function() - { - - _this.dialog.show( { id : 0 } , function() { - _this.grid.footer.onClick('first'); - }); - } - }, - cls : 'x-btn-text-icon', - text : "Add", - icon : Roo.rootURL + 'images/default/dd/drop-add.gif' - }, - { - xtype: 'Button', - xns: Roo.Toolbar, - listeners : { - click : function() - { - - Pman.Dialog.PersonBulkAdd.show( { id : 0 } , function() { - _this.grid.footer.onClick('first'); - }); - } - }, - cls : 'x-btn-text-icon', - text : "Bulk Add", - icon : Roo.rootURL + 'images/default/dd/drop-add.gif' - }, { xtype: 'Button', xns: Roo.Toolbar, -- 2.39.2