[open-ils-commits] r17124 - branches/rel_1_6/Open-ILS/web/opac/skin/default/xml/rdetail (gmc)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Aug 6 16:37:50 EDT 2010


Author: gmc
Date: 2010-08-06 16:37:45 -0400 (Fri, 06 Aug 2010)
New Revision: 17124

Modified:
   branches/rel_1_6/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml
Log:
bug 532217: work around caching issue resulting doubled title display

Quick hack shamelessly borrowed from Dan Scott to fix problem
of title being displayed twice on bib details page when back
button is used in OPAC or staff client.

This is a temporary fix in lieu of rewriting the bib details
display to use BibTemplate exclusively.

Signed-off-by: Galen Charlton <gmc at esilibrary.com>


Modified: branches/rel_1_6/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml
===================================================================
--- branches/rel_1_6/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml	2010-08-06 20:35:57 UTC (rev 17123)
+++ branches/rel_1_6/Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml	2010-08-06 20:37:45 UTC (rev 17124)
@@ -2,6 +2,9 @@
 <abbr class="unapi-id" title='tag:<!--#echo var="HTTP_HOST"-->,<!--#echo var="OILS_TIME_YEAR"-->:biblio-record_entry/<!--#echo var="OILS_OPAC_RID"-->'></abbr>
 <!-- This holds the record summary information -->
 <div>
+	<!-- temporary hack to give IE somewhere to put these things; should just rip out from rdetail.js 
+		See https://bugs.launchpad.net/evergreen/+bug/532217 -->
+	<span class='hide_me' id='rdetail_title'></span>
 	<table id='rdetail_details_table'>
 		<tbody id='rdetail_details_tbody'>
 
@@ -23,7 +26,7 @@
 				<td nowrap='nowrap' class='rdetail_desc'>&common.title;</td>		
                 <!-- *** Example of how to use the openils.BibTemplate infrastructure to augment the stock
                      *** summary screen with more and/or different information.  In this case, the raw MARC 245. -->
-                <td type='opac/slot-data' query='datafield[tag=245]' class='rdetail_item' id='rdetail_title'>
+                <td type='opac/slot-data' query='datafield[tag=245]' class='rdetail_item'>
                     <script type='opac/slot-format'><![CDATA[
                         var out = '';
                         var list = dojo.query( 'subfield', item );



More information about the open-ils-commits mailing list