Skip to content
Browse files

Merge branch 'MDL-25975' of git://github.com/samhemelryk/moodle

  • Loading branch information...
2 parents 61baea5 + 9bf6815 commit 2c23734a7ff62d8ee3e886699124e5f6b6c0d064 @skodak skodak committed Mar 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 user/selector/module.js
View
2 user/selector/module.js
@@ -89,7 +89,7 @@ M.core_user.init_user_selector = function (Y, name, hash, extrafields, lastsearc
handle_keyup : function(e) {
// Trigger an ajax search after a delay.
this.cancel_timeout();
- this.timeoutid = setTimeout(function(obj){obj.send_query(false)}, this.querydelay*1000, this);
+ this.timeoutid = Y.later(this.querydelay*1000, e, function(obj){obj.send_query(false)}, this);
// Enable or diable the clear button.
this.clearbutton.set('disabled', (this.get_search_text() == ''));

0 comments on commit 2c23734

Please sign in to comment.
Something went wrong with that request. Please try again.