diff options
author | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-06 20:04:36 +0000 |
---|---|---|
committer | jamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-06 20:04:36 +0000 |
commit | 21982858a257ea35453ee16e5544ac31843236c4 (patch) | |
tree | 4a7fdf00e380cddcb074a40740d6594877d9335c /remoting/webapp | |
parent | 5983e7ae484104108d60b824fedb487b6eec8605 (diff) | |
download | chromium_src-21982858a257ea35453ee16e5544ac31843236c4.zip chromium_src-21982858a257ea35453ee16e5544ac31843236c4.tar.gz chromium_src-21982858a257ea35453ee16e5544ac31843236c4.tar.bz2 |
Use oninput to catch all changes to OAuth text field.
BUG=
TEST=Use right-click > paste to enter the OAuth2 code. It should now correctly enable the Submit button.
Review URL: http://codereview.chromium.org/7112038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88020 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp')
-rw-r--r-- | remoting/webapp/me2mom/choice.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/remoting/webapp/me2mom/choice.html b/remoting/webapp/me2mom/choice.html index c199050..c2e8ebe 100644 --- a/remoting/webapp/me2mom/choice.html +++ b/remoting/webapp/me2mom/choice.html @@ -22,8 +22,7 @@ found in the LICENSE file. <form action="" onsubmit="authorizeOAuth2(); return false;"> <label for="oauth2-code">OAuth2 Token:</label> <input id="oauth2-code" class="display-inline" type="text" - onkeyup="handleOAuth2CodeChange();" - onchange="handleOAuth2CodeChange();" /> + oninput="handleOAuth2CodeChange();" /> <input id="oauth2-submit-button" class="display-inline" type="submit" /> <input id="oauth2-code-button" class="display-inline" type="button" |