Roo/bootstrap/TabPanel.js
authoredward <edward@roojs.com>
Fri, 28 Jul 2017 07:26:57 +0000 (15:26 +0800)
committeredward <edward@roojs.com>
Fri, 28 Jul 2017 07:26:57 +0000 (15:26 +0800)
Roo/bootstrap/TabPanel.js

index fa09294..1f2a82c 100644 (file)
@@ -58,7 +58,7 @@ Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component,  {
         var cfg = {
             tag: 'div',
             // item is needed for carousel - not sure if it has any effect otherwise
-            cls: 'tab-pane item',
+            cls: 'tab-pane item' + (this.href.length) ? ' clickable ' : '',
             html: this.html || ''
         };