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:
Frederic Massart 2014-08-26 11:34:41 +08:00 committed by Andrew Nicols
parent 8c037a917b
commit 569c77e623
5 changed files with 2 additions and 95 deletions

View File

@ -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();

View File

@ -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();

View File

@ -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();

View File

@ -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();
},
/**