From: Guillaume Pellerin Date: Sun, 20 Jul 2014 14:44:22 +0000 (+0200) Subject: bugfix X-Git-Tag: 2.8.1-pro~282^2~161 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=6bcc6825ce3f19b157f5244aa19815ee5845de98;p=teleforma.git bugfix --- diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 647a14ed..4f0cb698 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -69,8 +69,6 @@ var seminarUtils = { $(window).ready(function(){ var f = seminarUtils; - alert('{{seminar.id}}'); - alert('{{user.username}}'); f.load('{{seminar.id}}','{{user.username}}'); var p = $('#publish'); @@ -85,8 +83,8 @@ $(window).ready(function(){ } } ); + $(window).unload(function(){ - var f = seminarUtils; f.unload('{{seminar.id}}','{{user.username}}'); });