]> git.parisson.com Git - teleforma.git/commitdiff
fix
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 21 Jul 2014 22:35:09 +0000 (00:35 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 21 Jul 2014 22:35:09 +0000 (00:35 +0200)
teleforma/templates/teleforma/seminar_detail.html

index b735f403988d6934ed685fecf5db6b8c30e831c8..57b05e7c8edef3dac4ed26291268a07d119e8839 100644 (file)
@@ -72,7 +72,7 @@ $(document).ready(function( ){
     });
 
 $(window).ready(function( ){
-    {% if user.is_staff %}
+  {% if user.is_staff %}
     var p = $('#publish');
     p.unbind('click').click(function() {
         if (p.hasClass('icon_ok')){
@@ -84,11 +84,10 @@ $(window).ready(function( ){
             return null;
             }
         });
-    {% endif %}
+  {% endif %}
       $(window).bind('beforeunload', function(){
             f.unload('{{seminar.id}}','{{user.username}}');
           });
-    }
     });
 
 </script>