From 1ae7210784a19e34d7bd174d387de526e5eba670 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 4 Nov 2008 09:13:41 +0000 Subject: [PATCH] user selector: MDL-16966 use a JavaScrip event name that works cross-browser for watching the check-boxes. --- user/selector/script.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/user/selector/script.js b/user/selector/script.js index 3182bb9104..00c98f9325 100644 --- a/user/selector/script.js +++ b/user/selector/script.js @@ -474,11 +474,11 @@ YAHOO.lang.augmentProto(user_selector, YAHOO.util.EventProvider); */ function user_selector_options_tracker() { var oself = this; - YAHOO.util.Event.addListener('userselector_preserveselected', "change", + YAHOO.util.Event.addListener('userselector_preserveselected', "click", function(e) { oself.handle_option_change('userselector_preserveselected') }); - YAHOO.util.Event.addListener('userselector_autoselectunique', "change", + YAHOO.util.Event.addListener('userselector_autoselectunique', "click", function(e) { oself.handle_option_change('userselector_autoselectunique') }); - YAHOO.util.Event.addListener('userselector_searchanywhere', "change", + YAHOO.util.Event.addListener('userselector_searchanywhere', "click", function(e) { oself.handle_option_change('userselector_searchanywhere') }); } -- 2.39.5