projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07602f3
)
Roo/bootstrap/menu/Item.js
author
Edward
<edward@roojs.com>
Fri, 5 Dec 2014 03:41:28 +0000
(11:41 +0800)
committer
Edward
<edward@roojs.com>
Fri, 5 Dec 2014 03:41:28 +0000
(11:41 +0800)
Roo/bootstrap/menu/Item.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/menu/Item.js
b/Roo/bootstrap/menu/Item.js
index
f2b6ba5
..
541f03f
100644
(file)
--- a/
Roo/bootstrap/menu/Item.js
+++ b/
Roo/bootstrap/menu/Item.js
@@
-93,6
+93,10
@@
Roo.extend(Roo.bootstrap.menu.Item, Roo.bootstrap.Component, {
onClick : function(e)
{
+ if(this.preventDefault){
+ e.preventDefault();
+ }
+
this.fireEvent("click", this, e);
},