diff --git a/user/selector/module.js b/user/selector/module.js index ca89434172b..0c5d9970185 100644 --- a/user/selector/module.js +++ b/user/selector/module.js @@ -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('')); } this.listbox.append(optgroup);