Pman.Tab.AdminCompanies.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 12 May 2011 08:02:11 +0000 (16:02 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 12 May 2011 08:02:11 +0000 (16:02 +0800)
Pman.Tab.AdminCompanies.js

index 3891a9f..a01485a 100644 (file)
@@ -402,6 +402,19 @@ Pman.Tab.AdminCompanies = new Roo.util.Observable({
                                         cls : 'x-btn-icon',
                                         icon : rootURL + '/Pman/templates/images/search.gif'
                                     },
+                                    {
+                                        xtype: 'Button',
+                                        xns: Roo.Toolbar,
+                                        listeners : {
+                                            click : function (_self, e)
+                                            {
+                                                _this.searchBox.setValue('');
+                                                _this.grid.footer.onClick('first');
+                                            }
+                                        },
+                                        cls : 'x-btn-icon',
+                                        icon : rootURL + '/Pman/templates/images/edit-clear.gif'
+                                    },
                                     {
                                         xtype: 'Fill',
                                         xns: Roo.Toolbar