From 66f1055ae71f0208d1931bb8025c92c17dae11bc Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Tue, 7 Nov 2017 09:46:45 +0800 Subject: [PATCH] IDEMPIERE-3544 Problem with Uploading Logo on Organization Info window. A better fix. --- .../src/org/adempiere/webui/window/WImageDialog.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WImageDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WImageDialog.java index 6354b042fc..67c3e844e1 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WImageDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WImageDialog.java @@ -346,12 +346,7 @@ public class WImageDialog extends Window implements EventListener // OK fileNameTextbox.setValue(imageFile.getName()); - invalidate(); - if (ThemeManager.isUseCSSForWindowSize()) - { - ZKUpdateUtil.setCSSHeight(this); - ZKUpdateUtil.setCSSWidth(this); - } + mainLayout.invalidate(); // Save info if (m_mImage == null)