projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e580ce
)
Roo/bootstrap/menu/Menu.js
author
Edward
<edward@roojs.com>
Fri, 5 Dec 2014 03:41:49 +0000
(11:41 +0800)
committer
Edward
<edward@roojs.com>
Fri, 5 Dec 2014 03:41:49 +0000
(11:41 +0800)
Roo/bootstrap/menu/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/menu/Menu.js
b/Roo/bootstrap/menu/Menu.js
index
a1a893b
..
82b012e
100644
(file)
--- a/
Roo/bootstrap/menu/Menu.js
+++ b/
Roo/bootstrap/menu/Menu.js
@@
-12,6
+12,7
@@
Roo.bootstrap.menu = Roo.bootstrap.menu || {};
* Bootstrap Menu class - container for Menu
* @cfg {String} html Text of the menu
* @cfg {String} weight (default | primary | success | info | warning | danger | inverse)
+ * @cfg {Boolean} preventDefault (true | false) default true
*
* @constructor
* Create a new Menu
@@
-63,6
+64,7
@@
Roo.extend(Roo.bootstrap.menu.Menu, Roo.bootstrap.Component, {
submenu : false,
html : '',
weight : 'default',
+ preventDefault: true,
getChildContainer : function() {