summaryrefslogtreecommitdiffstats
path: root/client/src/com/vaadin/client/ui/VUI.java
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/com/vaadin/client/ui/VUI.java')
-rw-r--r--client/src/com/vaadin/client/ui/VUI.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/VUI.java b/client/src/com/vaadin/client/ui/VUI.java
index cbfbda813e..a21397c060 100644
--- a/client/src/com/vaadin/client/ui/VUI.java
+++ b/client/src/com/vaadin/client/ui/VUI.java
@@ -129,8 +129,10 @@ public class VUI extends SimplePanel implements ResizeHandler,
String newFragment = event.getValue();
// Send the location to the server if the fragment has changed
+ // and flush active connectors in UI.
if (!newFragment.equals(currentFragment) && connection != null) {
currentFragment = newFragment;
+ connection.flushActiveConnector();
connection.updateVariable(id, UIConstants.LOCATION_VARIABLE,
Window.Location.getHref(), true);
}