projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a08ac54
)
Roo/bootstrap/MenuItem.js
author
Alan Knowles
<alan@roojs.com>
Mon, 25 Aug 2014 07:33:57 +0000
(15:33 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 25 Aug 2014 07:33:57 +0000
(15:33 +0800)
Roo/bootstrap/MenuItem.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/MenuItem.js
b/Roo/bootstrap/MenuItem.js
index
91d1471
..
347d33a
100644
(file)
--- a/
Roo/bootstrap/MenuItem.js
+++ b/
Roo/bootstrap/MenuItem.js
@@
-52,7
+52,9
@@
Roo.extend(Roo.bootstrap.MenuItem, Roo.bootstrap.Component, {
}
]
};
-
+ if (this.parent().type == 'treeview') {
+ cfg.cls = 'treeview-menu';
+ }
cfg.cn[0].href = this.href || cfg.cn[0].href ;
cfg.cn[0].html = this.html || cfg.cn[0].html ;
return cfg;