diff --git a/user/selector/module.js b/user/selector/module.js index 24daf821b49..d7c6b85d604 100644 --- a/user/selector/module.js +++ b/user/selector/module.js @@ -275,6 +275,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('')); } this.listbox.append(optgroup); @@ -379,4 +380,4 @@ M.core_user.init_user_selector_options_tracker = function(Y) { user_selector_options_tracker.init(); // Return it just incase it is ever wanted return user_selector_options_tracker; -}; \ No newline at end of file +};