From a553623ac03d193ddbb03d0ee78f389b546fff3a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 30 Jan 2015 12:34:50 +0800 Subject: [PATCH] Roo/bootstrap/dash/TabBox.js --- Roo/bootstrap/dash/TabBox.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Roo/bootstrap/dash/TabBox.js b/Roo/bootstrap/dash/TabBox.js index 00f697de34..67e4226e07 100644 --- a/Roo/bootstrap/dash/TabBox.js +++ b/Roo/bootstrap/dash/TabBox.js @@ -115,6 +115,10 @@ Roo.extend(Roo.bootstrap.dash.TabBox, Roo.bootstrap.Component, { pane.tab = tab; tab.on('click', this.onTabClick.createDelegate(this, [pane], true)); + if (!qty) { + pane.el.addClass('active'); + } + }, onTabClick : function(ev,un,ob,pane) -- 2.39.2