From: Florent Bruneau Date: Tue, 8 Mar 2011 21:11:49 +0000 (+0100) Subject: Fix bad redirect to search page. X-Git-Tag: xorg/1.1.0~46 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=241ba4945741a0c1512b24ac2893f7415886e850;p=platal.git Fix bad redirect to search page. Signed-off-by: Florent Bruneau --- diff --git a/htdocs/javascript/xorg.js b/htdocs/javascript/xorg.js index 55e43fe..20221e2 100644 --- a/htdocs/javascript/xorg.js +++ b/htdocs/javascript/xorg.js @@ -1053,7 +1053,7 @@ function sendTestEmail(token, hruid) case 'profile': $(this).attr('href', 'profile/' + profile.hrpid) .popWin(840, 600) - .click(function() { popup.hide(); }); + .click(function() { $popup.hide(); return false; }); break; case 'admin': $(this).attr('href', 'admin/user/' + profile.hrpid)