diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2009-04-28 11:05:56 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2009-04-28 11:05:56 +0000 |
commit | 751af0244bee05184cae27aeabd3223c25163983 (patch) | |
tree | 6a8032a459dea46caaf9b4f9062acd03375da6d6 | |
parent | a277d0c6f2fba04e277d2790bbb32f59946e0321 (diff) | |
download | vaadin-framework-751af0244bee05184cae27aeabd3223c25163983.tar.gz vaadin-framework-751af0244bee05184cae27aeabd3223c25163983.zip |
fixed regression from [7545]
svn changeset:7550/svn branch:6.0
-rw-r--r-- | src/com/itmill/toolkit/terminal/gwt/client/ui/IWindow.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IWindow.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IWindow.java index ddb2c7f6a0..e58b32ab30 100644 --- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IWindow.java +++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IWindow.java @@ -135,7 +135,7 @@ public class IWindow extends IToolkitOverlay implements Container, private boolean immediate; public IWindow() { - super(false, false, true); // no autohide, not vaadinModality, shadow + super(false, false, true); // no autohide, not modal, shadow // Different style of shadow for windows setShadowStyle("window"); @@ -239,7 +239,7 @@ public class IWindow extends IToolkitOverlay implements Container, } if (!uidl.hasAttribute("cached")) { - if (uidl.getBooleanAttribute("vaadinModality") != vaadinModality) { + if (uidl.getBooleanAttribute("modal") != vaadinModality) { setVaadinModality(!vaadinModality); } if (!isAttached()) { @@ -901,7 +901,7 @@ public class IWindow extends IToolkitOverlay implements Container, onResizeEvent(event); return false; } else if (vaadinModality) { - // return false when vaadinModality and outside window + // return false when modal and outside window final Element target = event.getTarget().cast(); if (!DOM.isOrHasChild(getElement(), target)) { return false; |