Roo/bootstrap/dash/TabBox.js
authormichael <michael@office.ROOJS.COM>
Wed, 26 Nov 2014 10:15:06 +0000 (18:15 +0800)
committermichael <michael@office.ROOJS.COM>
Wed, 26 Nov 2014 10:15:06 +0000 (18:15 +0800)
Roo/bootstrap/dash/TabBox.js

index 75a3ff8..b05312a 100644 (file)
@@ -104,8 +104,7 @@ Roo.extend(Roo.bootstrap.dash.TabBox, Roo.bootstrap.Component,  {
     {
         Roo.log('img onclick');
 
-
-        this.findParent('li',false, true).removeClass('active');
+        this.findParent('li.active',false, true).removeClass('active');
         this.addClass('active');
         Roo.log(this);
             //this.el.select('li.active',true).first().removeClass('active');