From: Guillaume Pellerin Date: Sun, 20 Jul 2014 14:37:55 +0000 (+0200) Subject: bugfix X-Git-Tag: 2.8.1-pro~282^2~166 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=38345dc1cdb9984da5bcd06a9596ea257572de9a;p=teleforma.git bugfix --- 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; }); },