From: Guillaume Pellerin Date: Sun, 20 Jul 2014 16:59:48 +0000 (+0200) Subject: try bugfix X-Git-Tag: 2.8.1-pro~282^2~103 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=d5dbf221dd667523568e97e90fc5608b68e152c1;p=teleforma.git try bugfix --- diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index eaa2be93..7629a9e1 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -55,11 +55,11 @@ var seminarUtils = { }, load : function(id, username){ - json([id, username],'teleforma.seminar_load', function(){return false;}); + json([id, username],'teleforma.seminar_load', function(){return null;}); }, unload : function(id, username){ - json([id, username],'teleforma.seminar_unload',function(){return false;}); + json([id, username],'teleforma.seminar_unload',function(){return null;}); }, } @@ -72,17 +72,16 @@ $(window).ready(function(){ p.unbind('click').click(function() { if (p.hasClass('icon_ok')){ f.unpublish('{{seminar.id}}'); - return false; + return null; } if (p.hasClass('icon_delete')) { f.publish('{{seminar.id}}'); - return false; + return null; } }); $(window).bind('beforeunload', function(){ f.unload('{{seminar.id}}','{{user.username}}'); - return false; }); });