From: Nicolas Iooss Date: Sun, 3 Nov 2013 17:45:51 +0000 (+0100) Subject: Fix Javascript ReferenceError by using target=_blank instead of popup() in a link X-Git-Tag: xorg/1.1.10~12^2~2 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=7b4bde3f565265cfe95f8a4ce1f9fec4f028e3fd;p=platal.git Fix Javascript ReferenceError by using target=_blank instead of popup() in a link Fix following reported Javascript error when clicking on the education link present in search results: "Uncaught ReferenceError: popup is not defined" Signed-off-by: Nicolas Iooss --- diff --git a/plugins/function.display_education.php b/plugins/function.display_education.php index 4690f74..143c474 100644 --- a/plugins/function.display_education.php +++ b/plugins/function.display_education.php @@ -32,7 +32,7 @@ function display_education($name, $url, $degree, $gradYear, $field, $program, $f } } if ($url != '') { - $txt .= '' . $name . ''; + $txt .= '' . $name . ''; } else { $txt .= $name; }