mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-26925 User selector: Set label when no results
Thanks to Jonathon Fowler for the fix!
This commit is contained in:
parent
b6f8a93642
commit
12313d6125
@ -263,6 +263,7 @@ M.core_user.init_user_selector = function (Y, name, hash, extrafields, lastsearc
|
||||
option.set('selected', true);
|
||||
}
|
||||
} else {
|
||||
optgroup.set('label', groupname);
|
||||
optgroup.append(Y.Node.create('<option disabled="disabled">\u00A0</option>'));
|
||||
}
|
||||
this.listbox.append(optgroup);
|
||||
|
Loading…
x
Reference in New Issue
Block a user