[open-ils-commits] r602 - conifer/trunk/web/opac/skin/default/xml/rdetail (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jul 31 15:56:02 EDT 2009
Author: dbs
Date: 2009-07-31 15:55:57 -0400 (Fri, 31 Jul 2009)
New Revision: 602
Modified:
conifer/trunk/web/opac/skin/default/xml/rdetail/rdetail_summary.xml
Log:
Let's try a different approach, as IE still shows doubled data at times
Modified: conifer/trunk/web/opac/skin/default/xml/rdetail/rdetail_summary.xml
===================================================================
--- conifer/trunk/web/opac/skin/default/xml/rdetail/rdetail_summary.xml 2009-07-31 19:27:36 UTC (rev 601)
+++ conifer/trunk/web/opac/skin/default/xml/rdetail/rdetail_summary.xml 2009-07-31 19:55:57 UTC (rev 602)
@@ -2,6 +2,12 @@
<abbr name="unapi" 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>
+ <!-- Hack to give IE somewhere to put these things; should just rip out from rdetail.js -->
+ <span class='hide_me' id='rdetail_title'></span>
+ <span class='hide_me' id='rdetail_isbn'></span>
+ <span class='hide_me' id='rdetail_isbn'></span>
+ <span class='hide_me' id='rdetail_publisher'></span>
+ <span class='hide_me' id='rdetail_abstract'></span>
<table id='rdetail_details_table'>
<tbody id='rdetail_details_tbody'>
@@ -21,9 +27,8 @@
</div>
</td>
<td nowrap='nowrap' class='rdetail_desc'>&common.title;</td>
- <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[
- dojo.query('*:not([type^=opac])', 'rdetail_title').orphan();
return '<span>' + dojox.data.dom.textContent(item) + '</span><br/>';
]]></script>
</td>
@@ -73,9 +78,8 @@
</tr>
<tr class='hide_me' id='tag020'>
<td nowrap='nowrap' class='rdetail_desc'>&common.isbn;</td>
- <td type='opac/slot-data' query='datafield[tag=020]' class='rdetail_item' id='rdetail_isbn'>
+ <td type='opac/slot-data' query='datafield[tag=020]' class='rdetail_item'>
<script type='opac/slot-format'><![CDATA[
- dojo.query('*:not([type^=opac])', 'rdetail_isbn').orphan();
unHideMe($('tag020'));
return '<span>' + dojox.data.dom.textContent(item) + '</span><br/>';
]]></script>
@@ -105,9 +109,8 @@
<tr class='hide_me' id='tag260'>
<td nowrap='nowrap' class='rdetail_desc'>&common.publisher;</td>
- <td type='opac/slot-data' query='datafield[tag=260]' class='rdetail_item' id='rdetail_publisher'>
+ <td type='opac/slot-data' query='datafield[tag=260]' class='rdetail_item'>
<script type='opac/slot-format'><![CDATA[
- dojo.query('*:not([type^=opac])', 'rdetail_publisher').orphan();
unHideMe($('tag260'));
return '<span>' + dojox.data.dom.textContent(item) + '</span><br/>';
]]></script>
@@ -130,9 +133,8 @@
<tr class='hide_me' id='tag520'>
<td nowrap='nowrap' class='rdetail_desc'>&rdetail.detailMain.abstract;</td>
- <td type='opac/slot-data' query='datafield[tag=520]' class='rdetail_item' id='rdetail_abstract'>
+ <td type='opac/slot-data' query='datafield[tag=520]' class='rdetail_item'>
<script type='opac/slot-format'><![CDATA[
- dojo.query('*:not([type^=opac])', 'rdetail_abstract').orphan();
unHideMe($('tag520'));
return '<span>' + dojox.data.dom.textContent(item) + '</span><br/>';
]]></script>
More information about the open-ils-commits
mailing list