projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13766b5
)
Roo/bootstrap/NavProgressItem.js
author
edward
<edward@roojs.com>
Thu, 10 Mar 2016 07:18:23 +0000
(15:18 +0800)
committer
edward
<edward@roojs.com>
Thu, 10 Mar 2016 07:18:23 +0000
(15:18 +0800)
Roo/bootstrap/NavProgressItem.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/NavProgressItem.js
b/Roo/bootstrap/NavProgressItem.js
index
6352297
..
29eea46
100644
(file)
--- a/
Roo/bootstrap/NavProgressItem.js
+++ b/
Roo/bootstrap/NavProgressItem.js
@@
-57,6
+57,20
@@
Roo.extend(Roo.bootstrap.NavProgressItem, Roo.bootstrap.Component, {
tag: 'li',
cls: 'roo-navigation-bar-item',
cn : [
+ {
+ tag : 'i',
+ cls : 'roo-navigation-bar-item-icon'
+ },
+ {
+ tag : 'span',
+ cls : 'roo-navigation-bar-item-text',
+ html : this.html
+ }
+ ]
+ }
+
+ if(this.position == 'top'){
+ cfg.cn.push(
{
tag : 'span',
cls : 'roo-navigation-bar-item-text',
@@
-66,8
+80,7
@@
Roo.extend(Roo.bootstrap.NavProgressItem, Roo.bootstrap.Component, {
tag : 'i',
cls : 'roo-navigation-bar-item-icon'
}
-
- ]
+ );
}
if(this.active){