diff options
author | Leif Åstrand <leif@vaadin.com> | 2011-08-12 07:07:58 +0000 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2011-08-12 07:07:58 +0000 |
commit | 0284ab0a00f11293fcd3615dfef685a906884419 (patch) | |
tree | c99f9644605e42612062a3acf448bbe9c07c4d99 /src/com/vaadin/ui/Window.java | |
parent | c321d37817ba05783ef4777ef1c6235925e28669 (diff) | |
download | vaadin-framework-0284ab0a00f11293fcd3615dfef685a906884419.tar.gz vaadin-framework-0284ab0a00f11293fcd3615dfef685a906884419.zip |
#6097 Inversed the logic of the uidl attribute to avoid sending additional data when the default is selected
svn changeset:20338/svn branch:6.7
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()); |