Pman.Tab.AdminContacts.bjs
authorChris <chris@roojs.com>
Fri, 8 Mar 2013 06:53:01 +0000 (14:53 +0800)
committerChris <chris@roojs.com>
Fri, 8 Mar 2013 06:53:01 +0000 (14:53 +0800)
Pman.Tab.AdminContacts.js

Pman.Tab.AdminContacts.bjs
Pman.Tab.AdminContacts.js

index 1f330c1..3284e92 100644 (file)
                                 },
                                 {
                                     "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,
index 6ea109a..9e766d2 100644 (file)
@@ -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;