Roo/bootstrap/MenuItem.js
[roojs1] / Roo / bootstrap / MenuItem.js
index 86e23c2..87d7677 100644 (file)
@@ -67,6 +67,11 @@ Roo.extend(Roo.bootstrap.MenuItem, Roo.bootstrap.Component,  {
         if (this.parent().type == 'treeview') {
             cfg.cls = 'treeview-menu';
         }
+        if (this.active) {
+            cfg.cls += ' active';
+        }
+        
+        
         
         cfg.cn[0].href = this.href || cfg.cn[0].href ;
         cfg.cn[0].html = this.html || cfg.cn[0].html ;