Repository: deltaspike Updated Branches: refs/heads/master 94d71df33 -> 7781c0b18
DELTASPIKE-939 dswid=tempWindowId for every duplicated tab in Chrome/Firefox Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/7781c0b1 Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/7781c0b1 Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/7781c0b1 Branch: refs/heads/master Commit: 7781c0b18d2e68511a933a53b403b234e399a950 Parents: 94d71df Author: Thomas Andraschko <[email protected]> Authored: Wed Jul 15 23:04:01 2015 +0200 Committer: Thomas Andraschko <[email protected]> Committed: Wed Jul 15 23:04:01 2015 +0200 ---------------------------------------------------------------------- .../jsf/impl/src/main/resources/static/windowhandler.html | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/deltaspike/blob/7781c0b1/deltaspike/modules/jsf/impl/src/main/resources/static/windowhandler.html ---------------------------------------------------------------------- diff --git a/deltaspike/modules/jsf/impl/src/main/resources/static/windowhandler.html b/deltaspike/modules/jsf/impl/src/main/resources/static/windowhandler.html index 9e326a8..ec21e9e 100644 --- a/deltaspike/modules/jsf/impl/src/main/resources/static/windowhandler.html +++ b/deltaspike/modules/jsf/impl/src/main/resources/static/windowhandler.html @@ -154,6 +154,12 @@ window.onload = function() { urlId = null; } } + // occurs with the "duplicate tab" feature of chrome + else if (windowId === 'tempWindowId') { + window.name = ''; + windowId = 'automatedEntryPoint'; + urlId = null; + } // 3 seconds expiry time var expdt = new Date();
