MDL-54795 mod_assign: Fix Atto notify js error in grading interface

This commit is contained in:
Jake Dallimore
2016-07-01 13:52:38 +08:00
parent 6513308ba7
commit 89ea16e44e
4 changed files with 13 additions and 7 deletions
@@ -600,7 +600,9 @@ EditorNotify.prototype = {
this.hideTimer = Y.later(intTimeout, this, function() {
Y.log('Hide Atto notification.', 'debug', LOGNAME_NOTIFY);
this.hideTimer = null;
this.messageOverlay.hide(true);
if (this.messageOverlay.inDoc()) {
this.messageOverlay.hide(true);
}
});
return this;
File diff suppressed because one or more lines are too long
@@ -595,7 +595,9 @@ EditorNotify.prototype = {
this.hideTimer = Y.later(intTimeout, this, function() {
this.hideTimer = null;
this.messageOverlay.hide(true);
if (this.messageOverlay.inDoc()) {
this.messageOverlay.hide(true);
}
});
return this;
+3 -1
View File
@@ -127,7 +127,9 @@ EditorNotify.prototype = {
this.hideTimer = Y.later(intTimeout, this, function() {
Y.log('Hide Atto notification.', 'debug', LOGNAME_NOTIFY);
this.hideTimer = null;
this.messageOverlay.hide(true);
if (this.messageOverlay.inDoc()) {
this.messageOverlay.hide(true);
}
});
return this;