X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Fjavascript%2Fxorg.js;h=47bf78b14dd064e7e24e97b5af849848cd231a9d;hb=cb6e7db980fcc5fcdd2dad5aa645cfdf98057cd4;hp=b95c756c41cf35e94a3df83d6746393875c82d1c;hpb=d82359a556779137f8a90d0312b3098a2db6f482;p=platal.git diff --git a/htdocs/javascript/xorg.js b/htdocs/javascript/xorg.js index b95c756..47bf78b 100644 --- a/htdocs/javascript/xorg.js +++ b/htdocs/javascript/xorg.js @@ -179,7 +179,7 @@ function auto_links() { } if ((!href.contains(fqdn) && !this.className.contains('popup')) || node.hasClass('popup')) { node.click(function () { - window.open(href); + window.open(this.href); return false; }); } @@ -1049,7 +1049,7 @@ function sendTestEmail(token, hruid) queryParams: { offset: 0, count: 10, - allow_special: true, + allow_special: true }, loadingClassLeft: 'ac_loading', loadingClassRight: 'ac_loading_left',