Roo/bootstrap/Component.js
authoredward <edward@roojs.com>
Thu, 17 May 2018 07:25:42 +0000 (15:25 +0800)
committeredward <edward@roojs.com>
Thu, 17 May 2018 07:25:42 +0000 (15:25 +0800)
Roo/bootstrap/Component.js

index 6aa5418..e4edb64 100644 (file)
@@ -311,10 +311,13 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
                 Roo.log('start render...');
                 Roo.log(cn);
                 Roo.log(this[cntr](true));
-                if(cn.render && cn.render(this[cntr](true)) === false){
+                
+                if(this[cntr](true) === false){
                     return;
                 }
                 
+                cn.render && cn.render(this[cntr](true));
+                
              }
             // then add the element..
         }