diff options
author | Juuso Valli <juuso@vaadin.com> | 2014-06-13 11:08:13 +0300 |
---|---|---|
committer | John Ahlroos <john@vaadin.com> | 2014-06-18 06:08:01 +0000 |
commit | 3200aecd5d7c55aadc3142025221b4cc87bd2e22 (patch) | |
tree | 735b0ad4cda264374a5323f2c100eef36c88a444 /server | |
parent | f28d710aee0279ee484acd5c645e9c425e6f4b3a (diff) | |
download | vaadin-framework-3200aecd5d7c55aadc3142025221b4cc87bd2e22.tar.gz vaadin-framework-3200aecd5d7c55aadc3142025221b4cc87bd2e22.zip |
Prevent empty tooltips from appearing (#14015)
Change-Id: Iee9d5be9208ff54cd0e4a58c19daaa3a917f9b9d
Diffstat (limited to 'server')
-rw-r--r-- | server/src/com/vaadin/server/AbstractErrorMessage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/server/AbstractErrorMessage.java b/server/src/com/vaadin/server/AbstractErrorMessage.java index c733cc493e..b56521993a 100644 --- a/server/src/com/vaadin/server/AbstractErrorMessage.java +++ b/server/src/com/vaadin/server/AbstractErrorMessage.java @@ -126,7 +126,7 @@ public abstract class AbstractErrorMessage implements ErrorMessage { StringBuilder sb = new StringBuilder(); for (ErrorMessage cause : getCauses()) { String childMessage = cause.getFormattedHtmlMessage(); - if (null != childMessage) { + if (null != childMessage && !childMessage.isEmpty()) { sb.append("<div>"); sb.append(childMessage); sb.append("</div>\n"); |