]> git.parisson.com Git - teleforma.git/commitdiff
try bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 15:34:28 +0000 (17:34 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 15:34:28 +0000 (17:34 +0200)
teleforma/models/pro.py
teleforma/templates/teleforma/seminar_detail.html

index 8bd3f87914c4c4932934911d9c7a39036a1aa9a7..013ea3a954196ade4cb71a6368f1b0f3101cce10 100755 (executable)
@@ -322,6 +322,3 @@ class SeminarRevision(models.Model):
         verbose_name = _('Seminar revision')
         verbose_name_plural = _('Seminar revisions')
         ordering = ['-date']
-
-    def save(self, *args, **kwargs):
-        super(SeminarRevision, self).save(*args, **kwargs)
index 6492ab553ad4b4f6b7ab804a2757b6f6e8c931a2..f5ba39f81e257a2322093713459d982bb43e3feb 100644 (file)
@@ -76,14 +76,16 @@ $(window).ready(function(){
             // return false;
             }
         });
-    });
 
-$(window).unload(function(){
+    $(window).unload(function(){
     var f = seminarUtils;
     f.ping('{{seminar.id}}','{{user.username}}');
     });
 
 
+    });
+
+
 </script>
 {% endif %}