From 076c1c7212e68aa0c864b6571cf91e55cef3ef8a Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 20 Jul 2014 18:32:15 +0200 Subject: [PATCH] try bugfix --- teleforma/templates/teleforma/seminar_detail.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 98dfb0ec..c4a728e1 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -85,8 +85,7 @@ $(window).ready(function(){ }); -$(window).unbind('beforeunload'); - $(window).bind('beforeunload', function(){ +$(window).bind('beforeunload', function(){ f.unload('{{seminar.id}}','{{user.username}}'); }); -- 2.39.5