From 38345dc1cdb9984da5bcd06a9596ea257572de9a Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 20 Jul 2014 16:37:55 +0200 Subject: [PATCH] bugfix --- teleforma/templates/teleforma/seminar_detail.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 1cdcf4c7..bc8c5c23 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -41,26 +41,26 @@ var seminarUtils = { publish : function(id){ var p = $('#publish'); json([id],'teleforma.publish_seminar',function(){ - p.removeClass('icon_delete').addClass('icon_ok') - p.html('{% trans " published" %}') + p.removeClass('icon_delete').addClass('icon_ok'); + p.html('{% trans " published" %}'); }); }, unpublish : function(id){ var p = $('#publish'); json([id],'teleforma.unpublish_seminar',function(){ - p.removeClass('icon_ok').addClass('icon_delete') - p.html('{% trans " rejected" %}') + p.removeClass('icon_ok').addClass('icon_delete'); + p.html('{% trans " rejected" %}'); }); } load : function(id, username){ json([id], [username],'teleforma.seminar_load',function(){ - return false + return false; }); }, unload : function(id, username){ json([id], [username],'teleforma.seminar_unload',function(){ - return false + return false; }); }, -- 2.39.5