From 241ba4945741a0c1512b24ac2893f7415886e850 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Tue, 8 Mar 2011 22:11:49 +0100 Subject: [PATCH] Fix bad redirect to search page. Signed-off-by: Florent Bruneau --- htdocs/javascript/xorg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.1.4