Pman.Tab.AdminProjectManager.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 07:29:13 +0000 (15:29 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 25 Feb 2011 07:29:13 +0000 (15:29 +0800)
Pman.Tab.AdminProjectManager.js

index bde5242..b498f32 100644 (file)
@@ -592,6 +592,19 @@ Pman.Tab.AdminProjectManager = 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'
                                     }
                                 ]
                             },