]> git.parisson.com Git - teleforma.git/commitdiff
bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 14:37:55 +0000 (16:37 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 14:37:55 +0000 (16:37 +0200)
teleforma/templates/teleforma/seminar_detail.html

index 1cdcf4c7f6dc75d2dcb7f87563c308882b53236d..bc8c5c23a12f37f151f47198704a7e21c09408d3 100644 (file)
@@ -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;
                 });
          },