Roo/bootstrap/Table.js
authorEdward <edward@roojs.com>
Thu, 10 Jul 2014 05:09:27 +0000 (13:09 +0800)
committerEdward <edward@roojs.com>
Thu, 10 Jul 2014 05:09:27 +0000 (13:09 +0800)
Roo/bootstrap/Table.js

index 5215b34..8a48ba4 100644 (file)
@@ -185,9 +185,10 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
             return;
         }
         
-        var _this = this;
         Roo.log('initEvents with ds!!!!');
         
+        var _this = this;
+        
         Roo.each(this.el.select('thead th.sortable', true).elements, function(e){
             e.on('click', _this.store.load, _this.store);
         });