summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-06 02:59:35 +0000
committerjamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-06 02:59:35 +0000
commit0f4eea18c075b7c956d77b9c52c09815c50c157f (patch)
treec7fc13b2cc2612c47f7976b586178ec70655cfd5 /remoting
parent8c77485ebe520c2946842a5333b4ea519024e7c3 (diff)
downloadchromium_src-0f4eea18c075b7c956d77b9c52c09815c50c157f.zip
chromium_src-0f4eea18c075b7c956d77b9c52c09815c50c157f.tar.gz
chromium_src-0f4eea18c075b7c956d77b9c52c09815c50c157f.tar.bz2
Clear access code on successful connection.
BUG=262203 Review URL: https://chromiumcodereview.appspot.com/21149003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215774 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/webapp/client_screen.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/webapp/client_screen.js b/remoting/webapp/client_screen.js
index e3fe30f..b2b22fe4a 100644
--- a/remoting/webapp/client_screen.js
+++ b/remoting/webapp/client_screen.js
@@ -337,6 +337,7 @@ remoting.onConnected = function(clientSession) {
setConnectionInterruptedButtonsText_();
var connectedTo = document.getElementById('connected-to');
connectedTo.innerText = clientSession.hostDisplayName;
+ document.getElementById('access-code-entry').value = '';
remoting.setMode(remoting.AppMode.IN_SESSION);
remoting.toolbar.center();
remoting.toolbar.preview();