projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bac99d
)
Roo/bootstrap/menu/Menu.js
author
Edward
<edward@roojs.com>
Fri, 5 Dec 2014 04:13:33 +0000
(12:13 +0800)
committer
Edward
<edward@roojs.com>
Fri, 5 Dec 2014 04:13:33 +0000
(12:13 +0800)
Roo/bootstrap/menu/Menu.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/menu/Menu.js
b/Roo/bootstrap/menu/Menu.js
index
aeac64d
..
9e656e8
100644
(file)
--- a/
Roo/bootstrap/menu/Menu.js
+++ b/
Roo/bootstrap/menu/Menu.js
@@
-78,16
+78,16
@@
Roo.extend(Roo.bootstrap.menu.Menu, Roo.bootstrap.Component, {
getAutoCreate : function()
{
- var
btn
= [
+ var
text
= [
{
tag : 'span',
- cls : 'roo-
button
-text',
+ cls : 'roo-
menu
-text',
html : this.html
}
];
if(this.icon){
-
btn
.unshift({
+
text
.unshift({
tag : 'i',
cls : 'fa ' + this.icon
})
@@
-101,7
+101,7
@@
Roo.extend(Roo.bootstrap.menu.Menu, Roo.bootstrap.Component, {
{
tag : 'button',
cls : 'dropdown-button btn btn-' + this.weight,
- cn :
btn
+ cn :
text
},
{
tag : 'button',