diff options
author | Artur Signell <artur@vaadin.com> | 2016-08-26 17:53:14 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-08-29 08:09:37 +0000 |
commit | 010954022ddf6d0bcac3df9a098ce67603d3322b (patch) | |
tree | 92b5f0b7e6262621c12637deca242c9b82577b2d | |
parent | 28482d1ae9ade91557d4e3d7c0912a5b355ac0c3 (diff) | |
download | vaadin-framework-010954022ddf6d0bcac3df9a098ce67603d3322b.tar.gz vaadin-framework-010954022ddf6d0bcac3df9a098ce67603d3322b.zip |
Make window.vaadin.forceSync do something again
Change-Id: I220b29a81aa2c1b05743d5bf03bc4ca2eb017dd5
-rw-r--r-- | client/src/main/java/com/vaadin/client/ApplicationConnection.java | 4 |
1 files changed, 3 insertions, 1 deletions
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) { |