From 9e5c8a84ba8a6bdae605c99628d6fb8978610035 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Fri, 17 Sep 2010 11:59:10 +0000 Subject: [PATCH] more unterminated JS statements --- course/completion.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/course/completion.js b/course/completion.js index fbc73c7a04a..16df5a7d3d7 100644 --- a/course/completion.js +++ b/course/completion.js @@ -33,12 +33,12 @@ M.core_completion.init = function(Y) { } args.ajax.remove(); - } + }; var handle_failure = function(id, o, args) { alert('An error occurred when attempting to save your tick mark.\n\n('+o.responseText+'.)'); //TODO: localize args.ajax.remove(); - } + }; var toggle = function(e) { e.preventDefault(); @@ -82,7 +82,7 @@ M.core_completion.init = function(Y) { Y.use('io', function(Y) { Y.io(M.cfg.wwwroot+'/course/togglecompletion.php', cfg); }); - } + }; // register submit handlers on manual tick completion forms Y.all('form.togglecompletion').each(function(form) { @@ -96,6 +96,6 @@ M.core_completion.init = function(Y) { if (help && !(Y.one('form.togglecompletion') || Y.one('.autocompletion'))) { help.setStyle('display', 'none'); } -} +};