Roo/bootstrap/NavProgressBar.js
authoredward <edward@roojs.com>
Tue, 15 Mar 2016 07:53:04 +0000 (15:53 +0800)
committeredward <edward@roojs.com>
Tue, 15 Mar 2016 07:53:04 +0000 (15:53 +0800)
Roo/bootstrap/NavProgressBar.js

index 088cc09..a85e6a1 100644 (file)
@@ -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;
         }