From: edward Date: Thu, 17 May 2018 07:25:42 +0000 (+0800) Subject: Roo/bootstrap/Component.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=6bc7e7fb72c9ad26825afe774c36c0fc9065b179;p=roojs1 Roo/bootstrap/Component.js --- diff --git a/Roo/bootstrap/Component.js b/Roo/bootstrap/Component.js index 6aa54181c5..e4edb64c7d 100644 --- a/Roo/bootstrap/Component.js +++ b/Roo/bootstrap/Component.js @@ -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.. }