diff --git a/org.adempiere.ui.zk/js/layout.js b/org.adempiere.ui.zk/js/layout.js index 08808453ef..567965dceb 100644 --- a/org.adempiere.ui.zk/js/layout.js +++ b/org.adempiere.ui.zk/js/layout.js @@ -6,20 +6,24 @@ function ad_deferRenderBorderLayout(uuid, timeout) { } function _ad_deferBDL(uuid) { - zk.Widget.$(uuid).resize(); + var cmp = zk.Widget.$(uuid); + if (cmp) { cmp.resize(); } } function ad_closeBuble(uuid) { var cmp = zk.Widget.$(uuid); - for(var i=0;i