From: Bill Erickson Date: Mon, 23 Jan 2017 15:15:32 +0000 (-0500) Subject: JBAS-1705 New heading remove TCN href X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=54cc30dc571372edd40d5f36571091a0faad398c;p=working%2FEvergreen.git JBAS-1705 New heading remove TCN href Display TCN as a regular text value instead of a link, since it's mainly used for copy/paste. Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/templates/cat/authority/new_headings.tt2 b/Open-ILS/src/templates/cat/authority/new_headings.tt2 index f708abd8d1..c51ab81040 100644 --- a/Open-ILS/src/templates/cat/authority/new_headings.tt2 +++ b/Open-ILS/src/templates/cat/authority/new_headings.tt2 @@ -162,10 +162,7 @@ From TCN: - - - + Indexed As: diff --git a/Open-ILS/web/js/ui/default/cat/authority/new_headings.js b/Open-ILS/web/js/ui/default/cat/authority/new_headings.js index 70fb018559..af983931f1 100644 --- a/Open-ILS/web/js/ui/default/cat/authority/new_headings.js +++ b/Open-ILS/web/js/ui/default/cat/authority/new_headings.js @@ -285,28 +285,6 @@ function draw() { node.innerHTML = heading.next_bib_record() ? 'B: ' : 'A: '; } } - - if (heading_field == 'bib_record') { - var link = openils.Util.getNodeByName( - 'bib_record-catalog-link', row); - - // append the bib record ID to the in-template catalog link. - link.setAttribute('href', link.getAttribute('href') + value); - - if (openils.XUL.isXUL()) { - // open a new staff client tab to view the bib record - var target_url = oilsBasePath + '/opac/record/' + value; - - link.onclick = function() { - openils.XUL.newTabEasy( - xulG.url_prefix( - 'chrome://open_ils_staff_client/content/cat/opac.xul'), - null, {'opac_url' : target_url} - ); - return false; - } - } - } }); }); }