Merge branch 'MDL-56402-master' of git://github.com/lameze/moodle

This commit is contained in:
Dan Poltawski 2016-11-01 21:24:57 +00:00
commit 3a24b255ba
2 changed files with 3 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -535,8 +535,10 @@ define(['jquery', 'core/ajax', 'core/templates', 'core/notification', 'core/cust
Contacts.prototype._setSelectedUser = function(selector) {
// Remove the 'selected' class from any other contact.
this.messageArea.find(SELECTORS.CONTACT).removeClass('selected');
this.messageArea.find(SELECTORS.CONTACT).removeAttr('tabindex');
// Set the tab for the user to selected.
this.messageArea.find(SELECTORS.CONTACT + selector).addClass('selected');
this.messageArea.find(SELECTORS.CONTACT + selector).attr('tabIndex', 0);
};
/**