Merge branch 'MDL-47738-master' of git://github.com/FMCorz/moodle

This commit is contained in:
Sam Hemelryk
2014-10-24 11:48:22 +02:00
committed by Eloy Lafuente (stronk7)
4 changed files with 13 additions and 1 deletions
@@ -643,6 +643,10 @@ Y.namespace('M.gradereport_history').UserSelector = Y.extend(USERSELECTOR, M.cor
if (this._userTabFocus) {
this._userTabFocus.setAttribute('tabindex', '-1');
}
if (!user) {
// We were not passed a user, there is apparently none in the dialogue. Nothing to do here \\\o/.
return;
}
this._userTabFocus = user.one(SELECTORS.USERSELECT);
this._userTabFocus.setAttribute('tabindex', '0');
File diff suppressed because one or more lines are too long
@@ -641,6 +641,10 @@ Y.namespace('M.gradereport_history').UserSelector = Y.extend(USERSELECTOR, M.cor
if (this._userTabFocus) {
this._userTabFocus.setAttribute('tabindex', '-1');
}
if (!user) {
// We were not passed a user, there is apparently none in the dialogue. Nothing to do here \\\o/.
return;
}
this._userTabFocus = user.one(SELECTORS.USERSELECT);
this._userTabFocus.setAttribute('tabindex', '0');
@@ -641,6 +641,10 @@ Y.namespace('M.gradereport_history').UserSelector = Y.extend(USERSELECTOR, M.cor
if (this._userTabFocus) {
this._userTabFocus.setAttribute('tabindex', '-1');
}
if (!user) {
// We were not passed a user, there is apparently none in the dialogue. Nothing to do here \\\o/.
return;
}
this._userTabFocus = user.one(SELECTORS.USERSELECT);
this._userTabFocus.setAttribute('tabindex', '0');