Roo/bootstrap/dash/TabBox.js
authorAlan Knowles <alan@roojs.com>
Fri, 30 Jan 2015 04:34:26 +0000 (12:34 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 30 Jan 2015 04:34:26 +0000 (12:34 +0800)
Roo/bootstrap/dash/TabBox.js

index e90a57c..00f697d 100644 (file)
@@ -98,8 +98,8 @@ Roo.extend(Roo.bootstrap.dash.TabBox, Roo.bootstrap.Component,  {
         // tabs are rendere left to right..
         var ctr = this.el.select('.nav-tabs', true).first();
          
-        var qty = ctr.select('.nav-tab',true).length;
-        Roo.log(ctr.select('.nav-tab',true));
+        var qty = ctr.select('.nav-tab',true).getCount();;
+        
         
         var tab = ctr.createChild({
             tag : 'li',