projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad1379b
)
Roo/bootstrap/NavProgressItem.js
author
edward
<edward@roojs.com>
Thu, 10 Mar 2016 08:07:06 +0000
(16:07 +0800)
committer
edward
<edward@roojs.com>
Thu, 10 Mar 2016 08:07:06 +0000
(16:07 +0800)
Roo/bootstrap/NavProgressItem.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/NavProgressItem.js
b/Roo/bootstrap/NavProgressItem.js
index
89ff6f9
..
79fe776
100644
(file)
--- a/
Roo/bootstrap/NavProgressItem.js
+++ b/
Roo/bootstrap/NavProgressItem.js
@@
-50,17
+50,23
@@
Roo.extend(Roo.bootstrap.NavProgressItem, Roo.bootstrap.Component, {
html : '',
position : 'bottom',
icon : false,
+ forceIcon : false,
getAutoCreate : function()
{
-
+ var iconCls = 'roo-navigation-bar-item-icon';
+
+ if(this.forceIcon && this.icon){
+ iconCls += ' this.icon';
+ }
+
var cfg = {
tag: 'li',
cls: 'roo-navigation-bar-item',
cn : [
{
tag : 'i',
- cls :
'roo-navigation-bar-item-icon ' + (this.icon ? this.icon : '')
+ cls :
iconCls
},
{
tag : 'span',