Roo/bootstrap/PagingToolbar.js
authorEdward <edward@roojs.com>
Mon, 10 Aug 2015 09:47:29 +0000 (17:47 +0800)
committerEdward <edward@roojs.com>
Mon, 10 Aug 2015 09:47:29 +0000 (17:47 +0800)
Roo/bootstrap/PagingToolbar.js

index f6511f9..6a7b22c 100644 (file)
@@ -185,8 +185,8 @@ Roo.extend(Roo.bootstrap.PagingToolbar, Roo.bootstrap.NavSimplebar, {
         this.loading = this.navgroup.addItem({
             tooltip: this.refreshText,
             icon: 'fa fa-refresh',
-            
-            listeners : { click : this.onClick.createDelegate(this, ["refresh"]) }
+            which: 'refresh',
+            listeners : { click : this.onClick.createDelegate(this) }
         });
         
     },