MDL-48191 gradebook: fixed floating headers when emails not displayed
This commit is contained in:
+1
-1
@@ -394,7 +394,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.
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -394,7 +394,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.
|
||||
|
||||
@@ -251,7 +251,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.
|
||||
|
||||
Reference in New Issue
Block a user