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

index 13801a0..884030c 100644 (file)
@@ -286,8 +286,10 @@ Roo.extend(Roo.bootstrap.PagingToolbar, Roo.bootstrap.NavSimplebar, {
     },
 
     // private
-    onClick : function(which, e){
-        Roo.log([which, e]);
+    onClick : function(_self, e){
+        e.preventDefault();
+        var which = _self.which;
+        
         var ds = this.ds;
         if (!ds) {
             return;