projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2c00a1
)
Roo/bootstrap/Navbar.Item.js
author
Julian Knowles
<julian@roojs.com>
Wed, 22 Jan 2014 10:29:46 +0000
(18:29 +0800)
committer
Julian Knowles
<julian@roojs.com>
Wed, 22 Jan 2014 10:29:46 +0000
(18:29 +0800)
Roo/bootstrap/Navbar.Item.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Navbar.Item.js
b/Roo/bootstrap/Navbar.Item.js
index
56b72c2
..
aff9165
100644
(file)
--- a/
Roo/bootstrap/Navbar.Item.js
+++ b/
Roo/bootstrap/Navbar.Item.js
@@
-39,6
+39,10
@@
Roo.extend(Roo.bootstrap.Navbar.Item, Roo.bootstrap.Component, {
cfg.cn[0].html = this.html;
}
+ if (this.icon) {
+ cfg.cn[0].html = '<i class="icon-"'+this.icon+'"></i>'+cfg.cn[0].html || this.html
+ }
+
return cfg;
}