From dc236ec7f0afa740279869e666667bc844b0c704 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 20 Jul 2014 18:22:53 +0200 Subject: [PATCH] try bugfix --- teleforma/templates/teleforma/seminar_detail.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 575d418b..38b58bc6 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -82,14 +82,15 @@ $(window).ready(function(){ } }); - $(window).unload(function(){ + $(window).unload(function(){ + $(window).unbind('beforeunload'); f.unload('{{seminar.id}}','{{user.username}}'); }); - }); + {% endif %} -- 2.39.5