mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 20:53:53 +01:00
MDL-54795 mod_assign: Fix notifications JS error in grading interface
This commit is contained in:
parent
ac8d6cff54
commit
9e12b0faf7
@ -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;
|
||||
|
4
lib/editor/atto/yui/src/editor/js/notify.js
vendored
4
lib/editor/atto/yui/src/editor/js/notify.js
vendored
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user