Merge branch 'MDL-26925-24' of git://github.com/danpoltawski/moodle into MOODLE_24_STABLE

This commit is contained in:
Sam Hemelryk
2013-06-11 17:31:24 +12:00
+2 -1
View File
@@ -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('<option disabled="disabled">\u00A0</option>'));
}
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;
};
};