MDL-48191 gradebook: fixed floating headers when emails not displayed
authorJetha Chan <jetha@moodle.com>
Mon, 17 Nov 2014 02:17:53 +0000 (10:17 +0800)
committerSam Hemelryk <sam@moodle.com>
Tue, 25 Nov 2014 20:04:25 +0000 (09:04 +1300)
grade/report/grader/yui/build/moodle-gradereport_grader-gradereporttable/moodle-gradereport_grader-gradereporttable-debug.js
grade/report/grader/yui/build/moodle-gradereport_grader-gradereporttable/moodle-gradereport_grader-gradereporttable-min.js
grade/report/grader/yui/build/moodle-gradereport_grader-gradereporttable/moodle-gradereport_grader-gradereporttable.js
grade/report/grader/yui/src/gradereporttable/js/floatingheaders.js

index d89d5dc..45a4d95 100644 (file)
Binary files a/grade/report/grader/yui/build/moodle-gradereport_grader-gradereporttable/moodle-gradereport_grader-gradereporttable-debug.js and b/grade/report/grader/yui/build/moodle-gradereport_grader-gradereporttable/moodle-gradereport_grader-gradereporttable-debug.js differ
index e36c44e..05c85d4 100644 (file)
Binary files a/grade/report/grader/yui/build/moodle-gradereport_grader-gradereporttable/moodle-gradereport_grader-gradereporttable-min.js and b/grade/report/grader/yui/build/moodle-gradereport_grader-gradereporttable/moodle-gradereport_grader-gradereporttable-min.js differ
index 4e9d6f6..13bceac 100644 (file)
Binary files a/grade/report/grader/yui/build/moodle-gradereport_grader-gradereporttable/moodle-gradereport_grader-gradereporttable.js and b/grade/report/grader/yui/build/moodle-gradereport_grader-gradereporttable/moodle-gradereport_grader-gradereporttable.js differ
index f1a00d3..9f5d2e7 100644 (file)
@@ -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.