From 167df1cee94316ba9d3e8fd078d938fb0b06d363 Mon Sep 17 00:00:00 2001 From: hieplq Date: Thu, 30 Oct 2014 14:06:23 +0700 Subject: [PATCH] IDEMPIERE-1899:EMail : Implement default mail text and allow images within message --- .../WEB-INF/src/org/adempiere/webui/window/WEMailDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WEMailDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WEMailDialog.java index 51b16ac8f6..aab089e8c5 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WEMailDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WEMailDialog.java @@ -718,7 +718,7 @@ public class WEMailDialog extends Window implements EventListener, ValueC lsPart.add(startString); // no image in sign return origon - if (lsPart.size() < 0){ + if (lsPart.size() == 0 || lsImgSrc.size() == 0){ return origonSign; }