diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-10-04 13:51:58 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-10-04 13:51:58 -0700 |
commit | 5329489a9ec913699668897b321adbedc2e7fcea (patch) | |
tree | 32defb9d67e05164d7c0ebdf8bda1bae6c61aa71 /src | |
parent | b0173b0e67983f62ce4a6e279b2a85e9e4b387ba (diff) | |
download | DotNetOpenAuth-5329489a9ec913699668897b321adbedc2e7fcea.zip DotNetOpenAuth-5329489a9ec913699668897b321adbedc2e7fcea.tar.gz DotNetOpenAuth-5329489a9ec913699668897b321adbedc2e7fcea.tar.bz2 |
Fixed the far too aggressive UI reset from keying in the ajax text box.
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdAjaxTextBox.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdAjaxTextBox.js b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdAjaxTextBox.js index 961fa18..dabe60e 100644 --- a/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdAjaxTextBox.js +++ b/src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdAjaxTextBox.js @@ -465,7 +465,6 @@ function initAjaxOpenId(box, openid_logo_url, dotnetopenid_logo_url, spinner_url box.onkeyup = function(e) { e = e || window.event; // for IE - box.dnoi_internal.setVisualCue(); if (new Date() - lastKeyPress > 3000) { // the user seems to have altogether stopped typing, @@ -479,6 +478,7 @@ function initAjaxOpenId(box, openid_logo_url, dotnetopenid_logo_url, spinner_url } else { var newValue = box.value; if (lastValue != newValue) { + box.dnoi_internal.setVisualCue(); if (newValue.length == 0) { reset(); } else if (Math.abs(lastValue.length - newValue.length) > 1) { |