projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c548085
)
Roo/bootstrap/MenuItem.js
author
edward
<edward@roojs.com>
Tue, 10 Oct 2017 06:32:32 +0000
(14:32 +0800)
committer
edward
<edward@roojs.com>
Tue, 10 Oct 2017 06:32:32 +0000
(14:32 +0800)
Roo/bootstrap/MenuItem.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/MenuItem.js
b/Roo/bootstrap/MenuItem.js
index
dfc4c0f
..
2c9b2fd
100644
(file)
--- a/
Roo/bootstrap/MenuItem.js
+++ b/
Roo/bootstrap/MenuItem.js
@@
-111,9
+111,10
@@
Roo.extend(Roo.bootstrap.MenuItem, Roo.bootstrap.Component, {
onClick : function(e)
{
Roo.log('item on click ');
- //if(this.preventDefault){
- // e.preventDefault();
- //}
+
+ if(this.preventDefault){
+ e.preventDefault();
+ }
//this.parent().hideMenuItems();
this.fireEvent('click', this, e);