diff options
Diffstat (limited to 'src/com/vaadin/ui/Window.java')
-rw-r--r-- | src/com/vaadin/ui/Window.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/ui/Window.java b/src/com/vaadin/ui/Window.java index a16b6d585d..37f9967c08 100644 --- a/src/com/vaadin/ui/Window.java +++ b/src/com/vaadin/ui/Window.java @@ -663,9 +663,9 @@ public class Window extends Panel implements URIHandler, ParameterHandler, if (n.getIcon() != null) { target.addAttribute("icon", n.getIcon()); } - if (n.isHtmlContentAllowed()) { + if (!n.isHtmlContentAllowed()) { target.addAttribute( - VView.NOTIFICATION_HTML_CONTENT_ALLOWED, true); + VView.NOTIFICATION_HTML_CONTENT_NOT_ALLOWED, true); } target.addAttribute("position", n.getPosition()); target.addAttribute("delay", n.getDelayMsec()); |