mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
unterminated JS statement
This commit is contained in:
parent
46d39cf3bc
commit
fd876e1bb6
4
mod/glossary/yui/autolinker/autolinker.js
vendored
4
mod/glossary/yui/autolinker/autolinker.js
vendored
@ -20,7 +20,7 @@ YUI.add('moodle-mod_glossary-autolinker', function(Y) {
|
||||
|
||||
var AUTOLINKER = function() {
|
||||
AUTOLINKER.superclass.constructor.apply(this, arguments);
|
||||
}
|
||||
};
|
||||
Y.extend(AUTOLINKER, Y.Base, {
|
||||
overlay : null,
|
||||
initializer : function(config) {
|
||||
@ -68,7 +68,7 @@ YUI.add('moodle-mod_glossary-autolinker', function(Y) {
|
||||
var data = Y.JSON.parse(content);
|
||||
if (data.success){
|
||||
this.overlay.hide(); //hide progress indicator
|
||||
|
||||
|
||||
for (key in data.entries) {
|
||||
new M.core.alert({title:data.entries[key].concept, message:data.entries[key].definition, lightbox:false});
|
||||
}
|
||||
|
@ -66,7 +66,7 @@
|
||||
|
||||
//show clock in NS 4
|
||||
if (document.layers)
|
||||
document.ClockPosNS.visibility="show"
|
||||
document.ClockPosNS.visibility="show";
|
||||
if (old == "die") { return; }
|
||||
|
||||
currentDate = new Date();
|
||||
|
Loading…
x
Reference in New Issue
Block a user