projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5423cfc
)
Roo/bootstrap/menu/Menu.js
author
Edward
<edward@roojs.com>
Fri, 5 Dec 2014 04:43:39 +0000
(12:43 +0800)
committer
Edward
<edward@roojs.com>
Fri, 5 Dec 2014 04:43:39 +0000
(12:43 +0800)
Roo/bootstrap/menu/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/menu/Menu.js
b/Roo/bootstrap/menu/Menu.js
index
47dff5f
..
711ccf7
100644
(file)
--- a/
Roo/bootstrap/menu/Menu.js
+++ b/
Roo/bootstrap/menu/Menu.js
@@
-67,6
+67,7
@@
Roo.extend(Roo.bootstrap.menu.Menu, Roo.bootstrap.Component, {
html : '',
weight : 'default',
icon : false,
+ pos : 'bottom',
getChildContainer : function() {
@@
-122,6
+123,10
@@
Roo.extend(Roo.bootstrap.menu.Menu, Roo.bootstrap.Component, {
};
+ if(this.pos == 'top'){
+ cfg.cls += ' dropup';
+ }
+
if(this.isSubMenu()){
cfg = {
tag : 'ul',