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