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

index 823f7a4..046d4a0 100644 (file)
@@ -137,7 +137,8 @@ Roo.extend(Roo.bootstrap.PagingToolbar, Roo.bootstrap.NavSimplebar, {
             cls: "prev",
             icon : 'fa fa-backward',
             disabled: true,
-            listeners : { click : this.onClick.createDelegate(this, ["first"]) }
+            which: 'first',
+            listeners : { click : this.onClick.createDelegate(this) }
         });
         
         this.prev =  this.navgroup.addItem({