From 010954022ddf6d0bcac3df9a098ce67603d3322b Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 26 Aug 2016 17:53:14 +0300 Subject: Make window.vaadin.forceSync do something again Change-Id: I220b29a81aa2c1b05743d5bf03bc4ca2eb017dd5 --- client/src/main/java/com/vaadin/client/ApplicationConnection.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/main/java/com/vaadin/client/ApplicationConnection.java b/client/src/main/java/com/vaadin/client/ApplicationConnection.java index ad049c9549..a351fab5d0 100644 --- a/client/src/main/java/com/vaadin/client/ApplicationConnection.java +++ b/client/src/main/java/com/vaadin/client/ApplicationConnection.java @@ -42,6 +42,7 @@ import com.google.gwt.user.client.Timer; import com.google.gwt.user.client.ui.HasWidgets; import com.google.gwt.user.client.ui.Widget; import com.vaadin.client.ApplicationConfiguration.ErrorMessage; +import com.vaadin.client.ApplicationConnection.ApplicationStoppedEvent; import com.vaadin.client.ResourceLoader.ResourceLoadEvent; import com.vaadin.client.ResourceLoader.ResourceLoadListener; import com.vaadin.client.communication.ConnectionStateHandler; @@ -560,7 +561,8 @@ public class ApplicationConnection implements HasHandlers { if (oldSync) { oldSync(); } - app.@com.vaadin.client.ApplicationConnection::sendPendingVariableChanges()(); + var sender = app.@com.vaadin.client.ApplicationConnection::messageSender; + sender.@com.vaadin.client.communication.MessageSender::resynchronize()(); }); var oldForceLayout; if ($wnd.vaadin.forceLayout) { -- cgit v1.2.3