projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f608f86
)
Roo/bootstrap/NavProgressBar.js
author
edward
<edward@roojs.com>
Tue, 15 Mar 2016 05:54:53 +0000
(13:54 +0800)
committer
edward
<edward@roojs.com>
Tue, 15 Mar 2016 05:54:53 +0000
(13:54 +0800)
Roo/bootstrap/NavProgressBar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/NavProgressBar.js
b/Roo/bootstrap/NavProgressBar.js
index
8236d80
..
81e1f6f
100644
(file)
--- a/
Roo/bootstrap/NavProgressBar.js
+++ b/
Roo/bootstrap/NavProgressBar.js
@@
-95,12
+95,15
@@
Roo.extend(Roo.bootstrap.NavProgressBar, Roo.bootstrap.Component, {
item.render(this.el.select('.roo-navigation-bar', true).first(), null);
if(cfg.html){
- var html = {
+ var html =
new Roo.bootstrap.Element
{
tag : 'div',
cls : 'roo-navigation-bar-text',
html : cfg.html
}
+ var pos = (['top', 'bottom'].indexOf(cfg.position) == -1) ? cfg.position : 'bottom';
+
+ html.onRender(this.el.select('.roo-navigation-bar-' + pos, true).first(), null);
}
this.barItems.push(item);