projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Roo/bootstrap/MenuItem.js
[roojs1]
/
Roo
/
bootstrap
/
MenuItem.js
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);