aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/AbstractComponentConnector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/AbstractComponentConnector.java b/src/com/vaadin/terminal/gwt/client/ui/AbstractComponentConnector.java
index 6f0f1e5ae2..023023293d 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/AbstractComponentConnector.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/AbstractComponentConnector.java
@@ -100,7 +100,7 @@ public abstract class AbstractComponentConnector extends AbstractConnector
if (getState().getDebugId() != null) {
getWidget().getElement().setId(getState().getDebugId());
} else {
- getWidget().getElement().setId(null);
+ getWidget().getElement().removeAttribute("id");
}