From: Guillaume Pellerin Date: Sun, 20 Jul 2014 16:51:07 +0000 (+0200) Subject: try bugfix X-Git-Tag: 2.8.1-pro~282^2~104 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=72047c0d7e456e6b2d394845e5d4e46e27843e4e;p=teleforma.git try bugfix --- diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 825b8394..eaa2be93 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -80,7 +80,7 @@ $(window).ready(function(){ } }); - $(window).bind('unload', function(){ + $(window).bind('beforeunload', function(){ f.unload('{{seminar.id}}','{{user.username}}'); return false; });