From 8685c7934f8c5d078ece464ed4b25efec8b716a6 Mon Sep 17 00:00:00 2001 From: dbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4> Date: Sat, 16 Apr 2011 03:18:53 +0000 Subject: [PATCH] Do not clear auri links in default skin The dojo orphan() call which attempted to wipe any non-located 856s was actually wiping the located 856s in the record detail display. Removing the extra call makes this work in Firefox and Chromium, at least. git-svn-id: svn://svn.open-ils.org/ILS/trunk@20120 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml b/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml index 9908b2a6d9..d869f386c5 100644 --- a/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml +++ b/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml @@ -121,15 +121,7 @@ <tr class='hide_me' id='rdetail_online_row'> <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock *** summary screen with complex information, such as location-specific URIs (856$9). --> - <td nowrap='nowrap' class='rdetail_desc'>&rdetail.summary.online; - <span class='hide_me' type='opac/slot-data' query='datafield[tag="856"] subfield[code="9"]'> - <script type='opac/slot-format'><![CDATA[ - // There exists at least one localized URI. Clear all links. - dojo.query('*:not([type^="opac"])', 'rdetail_online').orphan(); - return ''; - ]]></script> - </span> - </td> + <td nowrap='nowrap' class='rdetail_desc'>&rdetail.summary.online;</td> <td class='rdetail_item' id='rdetail_online' type='opac/slot-data' query='volumes volume uris uri' join=", "> <script type='opac/slot-format'><![CDATA[ var link = '<a href="' + item.getAttribute('href') + '">' + item.getAttribute('label') + '</a>'; -- 2.11.0