mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-46951 gradereport_grader: Removing broken spinner logic
This issue is a part of the MDL-46658 Task. This issue is a part of the MDL-25544 Epic.
This commit is contained in:
parent
8c037a917b
commit
569c77e623
@ -88,31 +88,6 @@ Y.extend(ReportTable, Y.Base, {
|
||||
|
||||
// Setup the mouse tooltips.
|
||||
this.setupTooltips();
|
||||
|
||||
// Hide the loading spinner - we've finished for the moment.
|
||||
this._hideSpinner();
|
||||
},
|
||||
|
||||
/**
|
||||
* Show the loading spinner.
|
||||
*
|
||||
* @method showSpinner
|
||||
* @protected
|
||||
*/
|
||||
showSpinner: function() {
|
||||
// Show the grading spinner.
|
||||
Y.one(SELECTORS.SPINNER).show();
|
||||
},
|
||||
|
||||
/**
|
||||
* Hide the loading spinner.
|
||||
*
|
||||
* @method hideSpinner
|
||||
* @protected
|
||||
*/
|
||||
hideSpinner: function() {
|
||||
// Hide the grading spinner.
|
||||
Y.one(SELECTORS.SPINNER).hide();
|
||||
},
|
||||
|
||||
/**
|
||||
@ -439,12 +414,6 @@ FloatingHeaders.prototype = {
|
||||
// Grab references to commonly used Nodes.
|
||||
this.firstUserCell = Y.one(SELECTORS.USERCELL);
|
||||
|
||||
if (!this.firstUserCell) {
|
||||
// There was no first user cell - no need to do anything at this stage.
|
||||
this._hideSpinner();
|
||||
return;
|
||||
}
|
||||
|
||||
// Generate floating elements.
|
||||
this._setupFloatingUserColumn();
|
||||
this._setupFloatingUserHeader();
|
||||
|
File diff suppressed because one or more lines are too long
@ -88,31 +88,6 @@ Y.extend(ReportTable, Y.Base, {
|
||||
|
||||
// Setup the mouse tooltips.
|
||||
this.setupTooltips();
|
||||
|
||||
// Hide the loading spinner - we've finished for the moment.
|
||||
this._hideSpinner();
|
||||
},
|
||||
|
||||
/**
|
||||
* Show the loading spinner.
|
||||
*
|
||||
* @method showSpinner
|
||||
* @protected
|
||||
*/
|
||||
showSpinner: function() {
|
||||
// Show the grading spinner.
|
||||
Y.one(SELECTORS.SPINNER).show();
|
||||
},
|
||||
|
||||
/**
|
||||
* Hide the loading spinner.
|
||||
*
|
||||
* @method hideSpinner
|
||||
* @protected
|
||||
*/
|
||||
hideSpinner: function() {
|
||||
// Hide the grading spinner.
|
||||
Y.one(SELECTORS.SPINNER).hide();
|
||||
},
|
||||
|
||||
/**
|
||||
@ -439,12 +414,6 @@ FloatingHeaders.prototype = {
|
||||
// Grab references to commonly used Nodes.
|
||||
this.firstUserCell = Y.one(SELECTORS.USERCELL);
|
||||
|
||||
if (!this.firstUserCell) {
|
||||
// There was no first user cell - no need to do anything at this stage.
|
||||
this._hideSpinner();
|
||||
return;
|
||||
}
|
||||
|
||||
// Generate floating elements.
|
||||
this._setupFloatingUserColumn();
|
||||
this._setupFloatingUserHeader();
|
||||
|
@ -166,12 +166,6 @@ FloatingHeaders.prototype = {
|
||||
// Grab references to commonly used Nodes.
|
||||
this.firstUserCell = Y.one(SELECTORS.USERCELL);
|
||||
|
||||
if (!this.firstUserCell) {
|
||||
// There was no first user cell - no need to do anything at this stage.
|
||||
this._hideSpinner();
|
||||
return;
|
||||
}
|
||||
|
||||
// Generate floating elements.
|
||||
this._setupFloatingUserColumn();
|
||||
this._setupFloatingUserHeader();
|
||||
|
@ -86,31 +86,6 @@ Y.extend(ReportTable, Y.Base, {
|
||||
|
||||
// Setup the mouse tooltips.
|
||||
this.setupTooltips();
|
||||
|
||||
// Hide the loading spinner - we've finished for the moment.
|
||||
this._hideSpinner();
|
||||
},
|
||||
|
||||
/**
|
||||
* Show the loading spinner.
|
||||
*
|
||||
* @method showSpinner
|
||||
* @protected
|
||||
*/
|
||||
showSpinner: function() {
|
||||
// Show the grading spinner.
|
||||
Y.one(SELECTORS.SPINNER).show();
|
||||
},
|
||||
|
||||
/**
|
||||
* Hide the loading spinner.
|
||||
*
|
||||
* @method hideSpinner
|
||||
* @protected
|
||||
*/
|
||||
hideSpinner: function() {
|
||||
// Hide the grading spinner.
|
||||
Y.one(SELECTORS.SPINNER).hide();
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user