projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68f872e
)
Roo/menu/Menu.js
author
Alan Knowles
<alan@roojs.com>
Mon, 30 Sep 2013 09:17:50 +0000
(17:17 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 30 Sep 2013 09:17:50 +0000
(17:17 +0800)
Roo/menu/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/menu/Menu.js
b/Roo/menu/Menu.js
index
3690654
..
a85b44c
100644
(file)
--- a/
Roo/menu/Menu.js
+++ b/
Roo/menu/Menu.js
@@
-150,6
+150,10
@@
Roo.extend(Roo.menu.Menu, Roo.util.Observable, {
ul.on("mouseover", this.onMouseOver, this);
ul.on("mouseout", this.onMouseOut, this);
this.items.each(function(item){
+ if (item.hidden) {
+ return;
+ }
+
var li = document.createElement("li");
li.className = "x-menu-list-item";
ul.dom.appendChild(li);