From: Chris Date: Fri, 8 Mar 2013 06:53:01 +0000 (+0800) Subject: Pman.Tab.AdminContacts.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=5015159d89b225d805d41574fea953807fa93120 Pman.Tab.AdminContacts.bjs Pman.Tab.AdminContacts.js --- diff --git a/Pman.Tab.AdminContacts.bjs b/Pman.Tab.AdminContacts.bjs index 1f330c1..3284e92 100644 --- a/Pman.Tab.AdminContacts.bjs +++ b/Pman.Tab.AdminContacts.bjs @@ -193,7 +193,6 @@ }, { "listeners": { - "toggle": "function (_self, pressed)\n{\n _this.grid.footer.onClick('first');\n this.setText(pressed ? \"Show Company\" : \"Show No Company\");\n \n \n}", "render": "function (_self)\n{\n _this.active_company_button = _self;\n}" }, "enableToggle": true, diff --git a/Pman.Tab.AdminContacts.js b/Pman.Tab.AdminContacts.js index 6ea109a..9e766d2 100644 --- a/Pman.Tab.AdminContacts.js +++ b/Pman.Tab.AdminContacts.js @@ -641,13 +641,6 @@ Pman.Tab.AdminContacts = new Roo.XComponent({ xtype: 'Button', xns: Roo.Toolbar, listeners : { - toggle : function (_self, pressed) - { - _this.grid.footer.onClick('first'); - this.setText(pressed ? "Show Company" : "Show No Company"); - - - }, render : function (_self) { _this.active_company_button = _self;