summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/Window.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2011-08-12 07:07:58 +0000
committerLeif Åstrand <leif@vaadin.com>2011-08-12 07:07:58 +0000
commit0284ab0a00f11293fcd3615dfef685a906884419 (patch)
treec99f9644605e42612062a3acf448bbe9c07c4d99 /src/com/vaadin/ui/Window.java
parentc321d37817ba05783ef4777ef1c6235925e28669 (diff)
downloadvaadin-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.java4
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());