From: Guillaume Pellerin Date: Sun, 20 Jul 2014 15:13:51 +0000 (+0200) Subject: try bugfix X-Git-Tag: 2.8.1-pro~282^2~148 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=6e70753b77e6ff08f8b9003c66ec00731933948c;p=teleforma.git try bugfix --- diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 19421432..1192e4cd 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -76,13 +76,14 @@ $(window).ready(function(){ return false; } }); + }); - $(document).unload(function(){ - f.ping('{{seminar.id}}','{{user.username}}'); - }); - +$(window).unload(function(){ + var f = seminarUtils; + f.ping('{{seminar.id}}','{{user.username}}'); }); + {% endif %}