summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/server/AbstractClientConnector.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/com/vaadin/server/AbstractClientConnector.java b/server/src/com/vaadin/server/AbstractClientConnector.java
index c3101924dd..91a9e41522 100644
--- a/server/src/com/vaadin/server/AbstractClientConnector.java
+++ b/server/src/com/vaadin/server/AbstractClientConnector.java
@@ -224,9 +224,9 @@ public abstract class AbstractClientConnector implements ClientConnector,
}
if (markAsDirty) {
UI ui = getUI();
- if (ui != null && !ui.getConnectorTracker().isWritingResponse()
- && !ui.getConnectorTracker().isDirty(this)) {
- markAsDirty();
+ if (ui != null && !ui.getConnectorTracker().isDirty(this)
+ && !ui.getConnectorTracker().isWritingResponse()) {
+ ui.getConnectorTracker().markDirty(this);
}
}
return sharedState;