projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af5b988
)
Roo/bootstrap/Menu.js
author
Alan Knowles
<alan@roojs.com>
Fri, 16 May 2014 06:29:10 +0000
(14:29 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 16 May 2014 06:29:10 +0000
(14:29 +0800)
Roo/bootstrap/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Menu.js
b/Roo/bootstrap/Menu.js
index
78bf130
..
de08367
100644
(file)
--- a/
Roo/bootstrap/Menu.js
+++ b/
Roo/bootstrap/Menu.js
@@
-129,8
+129,10
@@
Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component, {
},
findTargetItem : function(e){
var t = e.getTarget(".dropdown-menu-item", this.el, true);
- if(t && t.menuItemId){
- return this.items.get(t.menuItemId);
+ if(t && t.id){
+ return Roo.Component.get(t.id)
+
+ //return this.items.get(t.menuItemId);
}
return false;
},