summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-03-01 19:52:19 +0200
committerArtur Signell <artur@vaadin.com>2012-03-01 19:52:19 +0200
commit14cd279bd269770fc67b1fd24bb5434262165a6b (patch)
treebd4d2deb1b75f23bb0d06c181453a8c1182f0313 /src/com/vaadin
parentc65578ad1f7f2a934d176d8dd8dd6101abf9c954 (diff)
downloadvaadin-framework-14cd279bd269770fc67b1fd24bb5434262165a6b.tar.gz
vaadin-framework-14cd279bd269770fc67b1fd24bb5434262165a6b.zip
Use getId() instead of old API
Diffstat (limited to 'src/com/vaadin')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/WindowConnector.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/WindowConnector.java b/src/com/vaadin/terminal/gwt/client/ui/WindowConnector.java
index 6751d62db0..7c912756e9 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/WindowConnector.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/WindowConnector.java
@@ -41,12 +41,12 @@ public class WindowConnector extends AbstractComponentContainerConnector
@Override
public void updateFromUIDL(UIDL uidl, ApplicationConnection client) {
- getWidget().id = uidl.getId();
+ getWidget().id = getId();
getWidget().client = client;
// Workaround needed for Testing Tools (GWT generates window DOM
// slightly different in different browsers).
- DOM.setElementProperty(getWidget().closeBox, "id", getWidget().id
+ DOM.setElementProperty(getWidget().closeBox, "id", getId()
+ "_window_close");
if (uidl.hasAttribute("invisible")) {