From: Guillaume Pellerin Date: Sun, 20 Jul 2014 16:26:23 +0000 (+0200) Subject: try bugfix X-Git-Tag: 2.8.1-pro~282^2~116 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=da9b55de5724e1172a6b19e713210d0bafd0178d;p=teleforma.git try bugfix --- diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 8c22e00e..484e6930 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -82,8 +82,8 @@ $(window).ready(function(){ } }); - $(window).bind('unload', function(){ - $(window).unbind('beforeunload'); + $(window).unbind('beforeunload'); + $(window).bind('beforeunload', function(){ f.unload('{{seminar.id}}','{{user.username}}'); });