[open-ils-commits] r20121 - branches/rel_2_1/Open-ILS/web/opac/skin/default/xml/rdetail (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Apr 15 23:19:37 EDT 2011
Author: dbs
Date: 2011-04-15 23:19:35 -0400 (Fri, 15 Apr 2011)
New Revision: 20121
Modified:
branches/rel_2_1/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml
Log:
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.
Modified: branches/rel_2_1/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml
===================================================================
--- branches/rel_2_1/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml 2011-04-16 03:18:53 UTC (rev 20120)
+++ branches/rel_2_1/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml 2011-04-16 03:19:35 UTC (rev 20121)
@@ -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>';
More information about the open-ils-commits
mailing list