Roo/bootstrap/NavProgressBar.js
authoredward <edward@roojs.com>
Thu, 10 Mar 2016 04:54:09 +0000 (12:54 +0800)
committeredward <edward@roojs.com>
Thu, 10 Mar 2016 04:54:09 +0000 (12:54 +0800)
Roo/bootstrap/NavProgressBar.js

index 1bda6e3..0a868cb 100644 (file)
@@ -52,6 +52,18 @@ Roo.extend(Roo.bootstrap.NavProgressBar, Roo.bootstrap.Component,  {
         
     },
     
+    onRender : function(ct, position) 
+    {
+        Roo.bootstrap.NavProgressBar.superclass.onRender.call(this, ct, position);
+        
+        if(this.items){
+            Roo.each(this.items, function(i){
+               Roo.factory(i).onRender(this.el, null);
+            }, this);
+        }   
+        
+    },
+    
     initEvents: function() 
     {
         Roo.log('items!!!!!!!!!!!1');