projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b17148f
)
Roo/bootstrap/MenuItem.js
author
Alan Knowles
<alan@roojs.com>
Thu, 24 Nov 2016 06:46:39 +0000
(14:46 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 24 Nov 2016 06:46:39 +0000
(14:46 +0800)
Roo/bootstrap/MenuItem.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/MenuItem.js
b/Roo/bootstrap/MenuItem.js
index
8ae6dd2
..
277aa63
100644
(file)
--- a/
Roo/bootstrap/MenuItem.js
+++ b/
Roo/bootstrap/MenuItem.js
@@
-73,8
+73,9
@@
Roo.extend(Roo.bootstrap.MenuItem, Roo.bootstrap.Component, {
},
initEvents: function() {
-
- //this.el.select('a').on('click', this.onClick, this);
+ if (this.parent().type == 'treeview') {
+ this.el.select('a').on('click', this.onClick, this);
+ }
},
onClick : function(e)