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

index 3159746..3e43b0b 100644 (file)
@@ -308,7 +308,10 @@ Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent,  {
                 //Roo.log('render');
                 //Roo.log(this[cntr]());
                 // some elements do not have render methods.. like the layouts...
-                cn.render && cn.render(this[cntr](true));
+                if(cn.render && cn.render(this[cntr](true)) === false){
+                    return;
+                }
+                
              }
             // then add the element..
         }