Permalink
Browse files

Merge pull request #7451 from ochameau/827655

Bug 827655 - Cancel the timer when user starts the input for GetInkey . r=ochameau
  • Loading branch information...
ochameau committed Jan 9, 2013
2 parents 08ecf67 + 6a4d3fe commit cf48189ae805acddfc31eb3cda106b7076a30dfc
Showing with 4 additions and 0 deletions.
  1. +4 −0 apps/settings/js/icc.js
View
@@ -611,6 +611,10 @@
};
input.onkeyup = function(event) {
+ if (inputTimeOutID) {
+ clearTimeout(inputTimeOutID);
+ inputTimeOutID = null;
+ }
button.disabled = !checkInputLengthValid(input.value.length,
options.minLength,
options.maxLength);

0 comments on commit cf48189

Please sign in to comment.