Roo/bootstrap/dash/TabBox.js
authormichael <michael@office.ROOJS.COM>
Wed, 26 Nov 2014 09:46:31 +0000 (17:46 +0800)
committermichael <michael@office.ROOJS.COM>
Wed, 26 Nov 2014 09:46:31 +0000 (17:46 +0800)
Roo/bootstrap/dash/TabBox.js

index b385e7f..9b111ba 100644 (file)
@@ -100,7 +100,7 @@ Roo.extend(Roo.bootstrap.dash.TabBox, Roo.bootstrap.Component,  {
         Roo.log('img onclick');
         if(!this.el.hasClass('active')){
             Roo.select('.active',true).first().removeClass('active');
-            thi.el.addClass('active');
+            this.el.addClass('active');
         }
         this.fireEvent('toggle', this, e);