From 743772f56b59ef7f09d3637c877883e7b4e90289 Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Mon, 28 Dec 2009 15:10:55 +0000 Subject: [PATCH] fixes #3840, debug identifiers now in dom for invisible components svn changeset:10561/svn branch:6.2 --- .../terminal/gwt/client/ApplicationConnection.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java index c13a9d60ba..a523e8b00e 100755 --- a/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java +++ b/src/com/vaadin/terminal/gwt/client/ApplicationConnection.java @@ -1473,6 +1473,11 @@ public class ApplicationConnection { } } + if (configuration.useDebugIdInDOM() && uidl.getId().startsWith("PID_S")) { + DOM.setElementProperty(component.getElement(), "id", uidl.getId() + .substring(5)); + } + if (!visible) { // component is invisible, delete old size to notify parent, if // later make visible @@ -1574,12 +1579,6 @@ public class ApplicationConnection { parent.updateCaption((Paintable) component, uidl); } } - - if (configuration.useDebugIdInDOM() && uidl.getId().startsWith("PID_S")) { - DOM.setElementProperty(component.getElement(), "id", uidl.getId() - .substring(5)); - } - /* * updateComponentSize need to be after caption update so caption can be * taken into account -- 2.39.5