From 4edddeecf14361e1f802cbb7b65ab261017f2d24 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 20 Jul 2014 18:27:08 +0200 Subject: [PATCH] try bugfix --- teleforma/templates/teleforma/seminar_detail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 484e6930..705f3823 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -82,8 +82,8 @@ $(window).ready(function(){ } }); - $(window).unbind('beforeunload'); - $(window).bind('beforeunload', function(){ + $(window).unbind('unload'); + $(window).bind('unload', function(){ f.unload('{{seminar.id}}','{{user.username}}'); }); -- 2.39.5