diff options
Diffstat (limited to 'WebContent/VAADIN')
-rw-r--r-- | WebContent/VAADIN/vaadinBootstrap.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/WebContent/VAADIN/vaadinBootstrap.js b/WebContent/VAADIN/vaadinBootstrap.js index b61c10dcf7..9a7a9d3569 100644 --- a/WebContent/VAADIN/vaadinBootstrap.js +++ b/WebContent/VAADIN/vaadinBootstrap.js @@ -88,6 +88,9 @@ url += '&rootId=' + getConfig('rootId'); // Uri fragment url += '&f=' + encodeURIComponent(location.hash); + if (window.name) { + url += '&wn=' + encodeURIComponent(window.name); + } // Timestamp to avoid caching url += '&' + (new Date()).getTime(); @@ -126,6 +129,11 @@ }; apps[appId] = app; + if (!window.name) { + var rootId = getConfig('rootId'); + window.name = appId + '-' + rootId; + } + var bootstrapApp = function(mayDefer) { var themeUri = getConfig('themeUri'); if (themeUri) { |