unterminated JS statement

This commit is contained in:
Petr Skoda 2010-09-18 12:57:23 +00:00
parent 46d39cf3bc
commit fd876e1bb6
2 changed files with 3 additions and 3 deletions

View File

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

View File

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