Roo/bootstrap/TabPanel.js
authoredward <edward@roojs.com>
Mon, 9 Nov 2015 02:58:55 +0000 (10:58 +0800)
committeredward <edward@roojs.com>
Mon, 9 Nov 2015 02:58:55 +0000 (10:58 +0800)
Roo/bootstrap/TabPanel.js

index b506328..78b964d 100644 (file)
@@ -111,6 +111,13 @@ Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component,  {
         } else  if (!this.el.hasClass('active')) {
             this.el.addClass('active');
         }
+        
+        var tg = Roo.bootstrap.TabGroup.get(this.navId);
+        
+        if(state && tg){
+            Roo.log(this);
+        }
+        
         this.fireEvent('changed', this, state);
     }