From: Guillaume Pellerin Date: Sun, 20 Jul 2014 15:34:28 +0000 (+0200) Subject: try bugfix X-Git-Tag: 2.8.1-pro~282^2~142 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=95699c5199f19116f432662212eeba12fc632074;p=teleforma.git try bugfix --- diff --git a/teleforma/models/pro.py b/teleforma/models/pro.py index 8bd3f879..013ea3a9 100755 --- a/teleforma/models/pro.py +++ b/teleforma/models/pro.py @@ -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) diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 6492ab55..f5ba39f8 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -76,14 +76,16 @@ $(window).ready(function(){ // return false; } }); - }); -$(window).unload(function(){ + $(window).unload(function(){ var f = seminarUtils; f.ping('{{seminar.id}}','{{user.username}}'); }); + }); + + {% endif %}