From: Guillaume Pellerin Date: Sun, 20 Jul 2014 16:25:26 +0000 (+0200) Subject: try bugfix X-Git-Tag: 2.8.1-pro~282^2~117 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=9bd01562c0db375d391a03effefe661cd41d3fb0;p=teleforma.git try bugfix --- diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 38b58bc6..8c22e00e 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -82,8 +82,8 @@ $(window).ready(function(){ } }); - $(window).unload(function(){ - $(window).unbind('beforeunload'); + $(window).bind('unload', function(){ + $(window).unbind('beforeunload'); f.unload('{{seminar.id}}','{{user.username}}'); });