Roo/bootstrap/TabGroup.js
authoredward <edward@roojs.com>
Tue, 1 Dec 2015 05:11:14 +0000 (13:11 +0800)
committeredward <edward@roojs.com>
Tue, 1 Dec 2015 05:11:14 +0000 (13:11 +0800)
Roo/bootstrap/TabGroup.js

index 36b46a3..57ddf3a 100644 (file)
@@ -251,6 +251,8 @@ Roo.extend(Roo.bootstrap.TabGroup, Roo.bootstrap.Column,  {
             return;
         }
         
+        var _this = this;
+        
         for (var i = 0; i < this.bullets; i++){
             var bullet = this.el.select('.bullet-' + i, true).first();
 
@@ -281,8 +283,6 @@ Roo.extend(Roo.bootstrap.TabGroup, Roo.bootstrap.Column,  {
             return;
         }
         
-        var _this = this;
-        
         Roo.each(this.el.select('.bullet', true).elements, function(el){
             el.removeClass('selected');
         });