projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64b5312
)
Roo/bootstrap/menu/MenuItem.js
author
Edward
<edward@roojs.com>
Thu, 4 Dec 2014 08:41:27 +0000
(16:41 +0800)
committer
Edward
<edward@roojs.com>
Thu, 4 Dec 2014 08:41:27 +0000
(16:41 +0800)
Roo/bootstrap/menu/MenuItem.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/menu/MenuItem.js
b/Roo/bootstrap/menu/MenuItem.js
index
2f1c435
..
4c6e5f4
100644
(file)
--- a/
Roo/bootstrap/menu/MenuItem.js
+++ b/
Roo/bootstrap/menu/MenuItem.js
@@
-42,7
+42,18
@@
Roo.extend(Roo.bootstrap.menu.MenuItem, Roo.bootstrap.Component, {
getAutoCreate : function()
{
+ var cfg = {
+ tag : 'li',
+ cn : [
+ {
+ tag : 'a',
+ href : this.href || '#',
+ html : this.html
+ }
+ ]
+ };
+ return cfg;
}
});