diff options
author | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-21 05:46:11 +0000 |
---|---|---|
committer | wez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-21 05:46:11 +0000 |
commit | e8bcbaa93f4e67e201e9e8d9279f4d73278f62d0 (patch) | |
tree | 98a5d727ac964af59764a461ced413e5b62d64aa /remoting | |
parent | 9ea330093eeb3f5736031c1188ffc4d8c478a814 (diff) | |
download | chromium_src-e8bcbaa93f4e67e201e9e8d9279f4d73278f62d0.zip chromium_src-e8bcbaa93f4e67e201e9e8d9279f4d73278f62d0.tar.gz chromium_src-e8bcbaa93f4e67e201e9e8d9279f4d73278f62d0.tar.bz2 |
Update the window.location back when returning to the main menu.
This is required to prevent the Me2Me session URL remaining in effect, and causing the session to be reconnected if the page is refreshed, or the browser closed and reloaded with tabs reopened.
BUG=110830
Review URL: http://codereview.chromium.org/9264032
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118607 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/webapp/event_handlers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/webapp/event_handlers.js b/remoting/webapp/event_handlers.js index 0c37eda..0a75f16 100644 --- a/remoting/webapp/event_handlers.js +++ b/remoting/webapp/event_handlers.js @@ -9,7 +9,7 @@ var remoting = remoting || {}; function onLoad() { var goHome = function() { - remoting.setMode(remoting.AppMode.HOME); + window.location.replace(chrome.extension.getURL('choice.html')); }; var goEnterAccessCode = function() { remoting.setMode(remoting.AppMode.CLIENT_UNCONNECTED); |