Roo/PagingToolbar.js
authorAlan Knowles <alan@akbkhome.com>
Fri, 14 Jan 2011 07:20:36 +0000 (15:20 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 14 Jan 2011 07:20:36 +0000 (15:20 +0800)
Roo/PagingToolbar.js

index d1022eb..acc3ae0 100644 (file)
@@ -39,10 +39,10 @@ Roo.PagingToolbar = function(el, ds, config)
     this.bind(ds);
     
     // supprot items array.
-    var _this = this;
+   
     Roo.each(items, function(e) {
-        _this.add(Roo.factory(e));
-    });
+        this.add(Roo.factory(e));
+    },this);
     
 };