From: Alan Knowles Date: Thu, 12 May 2011 10:15:38 +0000 (+0800) Subject: Pman.Tab.AdminContacts.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=4d40f58cf3702605a5345ac830c86c784d193e0a Pman.Tab.AdminContacts.bjs --- diff --git a/Pman.Tab.AdminContacts.bjs b/Pman.Tab.AdminContacts.bjs index 4e69b56..d46c0c6 100644 --- a/Pman.Tab.AdminContacts.bjs +++ b/Pman.Tab.AdminContacts.bjs @@ -119,6 +119,16 @@ "|icon": "rootURL + '/Pman/templates/images/edit-clear.gif'", "|xns": "Roo.Toolbar" }, + { + "listeners": { + "toggle": "function (_self, pressed)\n{\n _this.grid.footer.onClick('first');\n this.setText(pressed ? \"Show Active\" : \"Show Removed\");\n \n \n}", + "render": "function (_self)\n{\n _this.activeButton = _self;\n}" + }, + "enableToggle": true, + "text": "Show Removed", + "xtype": "Button", + "|xns": "Roo.Toolbar" + }, { "|xns": "Roo.Toolbar", "xtype": "Fill"