Roo/bootstrap/dash/TabBox.js
authorAlan Knowles <alan@roojs.com>
Fri, 30 Jan 2015 07:52:36 +0000 (15:52 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 30 Jan 2015 07:52:36 +0000 (15:52 +0800)
Roo/bootstrap/dash/TabBox.js

index 1ce16f1..09da5c0 100644 (file)
@@ -130,7 +130,12 @@ Roo.extend(Roo.bootstrap.dash.TabBox, Roo.bootstrap.Component,  {
         pane.tab.addClass('active');
         //Roo.log(pane.title);
         this.getChildContainer().select('.tab-pane',true).removeClass('active');
+        // technically we should have a deactivate event.. but maybe add later.
+        // and it should not de-activate the selected tab...
+        
         pane.el.addClass('active');
+        pane.fireEvent('activate');
+        
         
     }