From: Guillaume Pellerin Date: Sun, 20 Jul 2014 16:22:53 +0000 (+0200) Subject: try bugfix X-Git-Tag: 2.8.1-pro~282^2~118 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=dc236ec7f0afa740279869e666667bc844b0c704;p=teleforma.git try bugfix --- diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 575d418b..38b58bc6 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -82,14 +82,15 @@ $(window).ready(function(){ } }); - $(window).unload(function(){ + $(window).unload(function(){ + $(window).unbind('beforeunload'); f.unload('{{seminar.id}}','{{user.username}}'); }); - }); + {% endif %}