Merge branch 'MDL-47738-master' of git://github.com/FMCorz/moodle
This commit is contained in:
+4
@@ -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');
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+4
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user