From 1ed61e5aa948f076a8b671111bf1edd9628056ca Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Mon, 17 Aug 2015 14:26:26 +0000 Subject: [PATCH] SSDM-2340 : Support open on new tab for all javascript links. SVN: 34477 --- .../core-plugins/eln-lims/1/as/webapps/eln-lims/html/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/index.html b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/index.html index 26cdc954e6f..373ad2681a3 100644 --- a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/index.html +++ b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/index.html @@ -188,7 +188,7 @@ // $(document).click(function(e) { var elementClasses = $(e.target).attr('class'); - if(elementClasses.indexOf("browser-compatible-javascript-link") !== -1) { + if(elementClasses && elementClasses.indexOf("browser-compatible-javascript-link") !== -1) { e.preventDefault(); e.stopPropagation(); } -- GitLab