From d5dbf221dd667523568e97e90fc5608b68e152c1 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Sun, 20 Jul 2014 18:59:48 +0200 Subject: [PATCH] try bugfix --- teleforma/templates/teleforma/seminar_detail.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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; }); }); -- 2.39.5