projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
518437f
)
Roo/bootstrap/NavProgressBar.js
author
edward
<edward@roojs.com>
Tue, 15 Mar 2016 07:53:04 +0000
(15:53 +0800)
committer
edward
<edward@roojs.com>
Tue, 15 Mar 2016 07:53:04 +0000
(15:53 +0800)
Roo/bootstrap/NavProgressBar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/NavProgressBar.js
b/Roo/bootstrap/NavProgressBar.js
index
088cc09
..
a85e6a1
100644
(file)
--- a/
Roo/bootstrap/NavProgressBar.js
+++ b/
Roo/bootstrap/NavProgressBar.js
@@
-120,6
+120,14
@@
Roo.extend(Roo.bootstrap.NavProgressBar, Roo.bootstrap.Component, {
html : (typeof(cfg.position) != 'undefined' && cfg.position == 'top') ? cfg.html : ''
});
+ var bottomText = new Roo.bootstrap.Element({
+ tag : 'span',
+ html : (typeof(cfg.position) != 'undefined' && cfg.position == 'top') ? '' : cfg.html
+ });
+
+ topText.onRender(top, null);
+ bottomText.onRender(bottom, null);
+
item.topEl = top;
item.bottomEl = bottom;
}