mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-48191 gradebook: fixed floating headers when emails not displayed
This commit is contained in:
parent
55dc0eb979
commit
918de7968a
4 changed files with 5 additions and 5 deletions
|
@ -395,7 +395,7 @@ FloatingHeaders.prototype = {
|
|||
// Grab references to commonly used Nodes.
|
||||
this.firstUserCell = Y.one(SELECTORS.USERCELL);
|
||||
this.container = Y.one(SELECTORS.GRADEPARENT);
|
||||
this.firstNonUserCell = Y.one(SELECTORS.USERMAIL).next();
|
||||
this.firstNonUserCell = Y.one(SELECTORS.GRADECELL);
|
||||
|
||||
if (!this.firstUserCell) {
|
||||
// No need for floating elements, there are no users.
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -395,7 +395,7 @@ FloatingHeaders.prototype = {
|
|||
// Grab references to commonly used Nodes.
|
||||
this.firstUserCell = Y.one(SELECTORS.USERCELL);
|
||||
this.container = Y.one(SELECTORS.GRADEPARENT);
|
||||
this.firstNonUserCell = Y.one(SELECTORS.USERMAIL).next();
|
||||
this.firstNonUserCell = Y.one(SELECTORS.GRADECELL);
|
||||
|
||||
if (!this.firstUserCell) {
|
||||
// No need for floating elements, there are no users.
|
||||
|
|
|
@ -252,7 +252,7 @@ FloatingHeaders.prototype = {
|
|||
// Grab references to commonly used Nodes.
|
||||
this.firstUserCell = Y.one(SELECTORS.USERCELL);
|
||||
this.container = Y.one(SELECTORS.GRADEPARENT);
|
||||
this.firstNonUserCell = Y.one(SELECTORS.USERMAIL).next();
|
||||
this.firstNonUserCell = Y.one(SELECTORS.GRADECELL);
|
||||
|
||||
if (!this.firstUserCell) {
|
||||
// No need for floating elements, there are no users.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue