From 6bc7e7fb72c9ad26825afe774c36c0fc9065b179 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 17 May 2018 15:25:42 +0800 Subject: [PATCH] Roo/bootstrap/Component.js --- Roo/bootstrap/Component.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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.. } -- 2.39.2