From 4f7377be467fc099defc1d3dd0cb1eb656152d6f Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Wed, 17 Apr 2013 11:20:13 +0300 Subject: Move push mode to UI and add @Push annotation (#11506) Change-Id: Idc0e5e00a8f3ddd3f56d87484089c290d52715c2 --- WebContent/VAADIN/vaadinBootstrap.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'WebContent') diff --git a/WebContent/VAADIN/vaadinBootstrap.js b/WebContent/VAADIN/vaadinBootstrap.js index b2995dd0bd..ae50289477 100644 --- a/WebContent/VAADIN/vaadinBootstrap.js +++ b/WebContent/VAADIN/vaadinBootstrap.js @@ -120,6 +120,12 @@ url += '&theme=' + encodeURIComponent(theme); } + // Tell the UI what pushMode it is configured to use + var pushMode = getConfig('pushMode'); + if (pushMode !== undefined) { + url += '&v-pushMode=' + encodeURIComponent(pushMode); + } + var extraParams = getConfig('extraParams') if (extraParams !== undefined) { url += extraParams; -- cgit v1.2.3