From: Guillaume Pellerin Date: Sun, 20 Jul 2014 14:42:42 +0000 (+0200) Subject: bugfix X-Git-Tag: 2.8.1-pro~282^2~162 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=65ce5a407929dec3595e9ac1cc9741ded07b736d;p=teleforma.git bugfix --- diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 1dbcb025..647a14ed 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -85,14 +85,14 @@ $(window).ready(function(){ } } ); - + $(window).unload(function(){ + var f = seminarUtils; + f.unload('{{seminar.id}}','{{user.username}}'); }); -$(window).unload(function(){ - var f = seminarUtils; - f.unload('{{seminar.id}}','{{user.username}}'); }); + {% endif %}