From 00cc4a69ef404a2c7bd39d0450311292e896d696 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 12 May 2011 16:02:11 +0800 Subject: [PATCH] Pman.Tab.AdminCompanies.bjs --- Pman.Tab.AdminCompanies.bjs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Pman.Tab.AdminCompanies.bjs b/Pman.Tab.AdminCompanies.bjs index 47e41ea..24edf6d 100644 --- a/Pman.Tab.AdminCompanies.bjs +++ b/Pman.Tab.AdminCompanies.bjs @@ -107,6 +107,15 @@ "|icon": "rootURL + '/Pman/templates/images/search.gif'", "|xns": "Roo.Toolbar" }, + { + "listeners": { + "|click": "function (_self, e)\n{\n _this.searchBox.setValue('');\n _this.grid.footer.onClick('first');\n}" + }, + "cls": "x-btn-icon", + "xtype": "Button", + "|icon": "rootURL + '/Pman/templates/images/edit-clear.gif'", + "|xns": "Roo.Toolbar" + }, { "|xns": "Roo.Toolbar", "xtype": "Fill" -- 2.39.2