Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-42998: Fix user selection search options autoselectunique.

  • Loading branch information...
commit 4743fdf2907147a1e45267b96d4076864a7a408a 1 parent 5ffad8a
@tlock tlock authored damyon committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  user/selector/module.js
View
2  user/selector/module.js
@@ -259,7 +259,7 @@ M.core_user.init_user_selector = function (Y, name, hash, extrafields, lastsearc
if (count > 0) {
optgroup.set('label', groupname+' ('+count+')');
- if (processsingle && count===1 && this.get_option('autoselectunique') && option.get('disabled')) {
+ if (processsingle && count===1 && this.get_option('autoselectunique') && option.get('disabled') == false) {
option.set('selected', true);
}
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.