From 5cc9904e5a217140104b148c54854bcd015186bf Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Fri, 26 Jul 2019 16:31:24 +0200 Subject: [PATCH] open link in new tab --- CHANGELOG | 1 + frontend-js/src/main/js/gui/leftPanel/PublicationListDialog.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 92e8271c21..9ec966383b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -17,6 +17,7 @@ minerva (14.0.0~alpha.0) unstable; urgency=low * Small improvement: overlay name is obligatory (#698) * Small improvement: list of projects in admin panel contains creation date (#447) + * Small improvement: links in list of publications open in new tab (#447) * Small improvement: target gene in search panel contains also information about type of database that identifies the target (#66) * Small improvement: redundant 'references' field in gene variants data diff --git a/frontend-js/src/main/js/gui/leftPanel/PublicationListDialog.js b/frontend-js/src/main/js/gui/leftPanel/PublicationListDialog.js index 44cc3c5752..aa9a0225aa 100644 --- a/frontend-js/src/main/js/gui/leftPanel/PublicationListDialog.js +++ b/frontend-js/src/main/js/gui/leftPanel/PublicationListDialog.js @@ -102,7 +102,7 @@ PublicationListDialog.prototype._dataTableAjaxCall = function (data, callback) { var row = []; var submaps = {}; if (article !== null && article !== undefined) { - row[0] = "<a href='" + article.link + "'>" + article.id + "</a>"; + row[0] = "<a href='" + article.link + "' target='#pubmed_" + article.id + "'>" + article.id + "</a>"; row[1] = article.title; row[2] = article.authors.join(); row[3] = article.journal; -- GitLab