Roo/bootstrap/dash/TabBox.js
authorEdward <edward@roojs.com>
Mon, 9 Feb 2015 01:58:23 +0000 (09:58 +0800)
committerEdward <edward@roojs.com>
Mon, 9 Feb 2015 01:58:23 +0000 (09:58 +0800)
Roo/bootstrap/dash/TabBox.js

index 8e67b7f..e923cfd 100644 (file)
@@ -101,6 +101,10 @@ Roo.extend(Roo.bootstrap.dash.TabBox, Roo.bootstrap.Component,  {
         //Roo.log('addpane');
         //Roo.log(pane);
         // tabs are rendere left to right..
+        if(!this.showtabs){
+            return;
+        }
+        
         var ctr = this.el.select('.nav-tabs', true).first();