From 72047c0d7e456e6b2d394845e5d4e46e27843e4e Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 20 Jul 2014 18:51:07 +0200 Subject: [PATCH] try bugfix --- teleforma/templates/teleforma/seminar_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }); -- 2.39.5