]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #3840, debug identifiers now in dom for invisible components
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 28 Dec 2009 15:10:55 +0000 (15:10 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 28 Dec 2009 15:10:55 +0000 (15:10 +0000)
svn changeset:10561/svn branch:6.2

src/com/vaadin/terminal/gwt/client/ApplicationConnection.java

index c13a9d60bac98f7f3d1923f89029d5e18a85f040..a523e8b00eb5e16b221c7d5bc18f63dde0b5e8d2 100755 (executable)
@@ -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