[open-ils-commits] r13272 - trunk/Open-ILS/web/opac/skin/default/js (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Sun May 31 23:54:53 EDT 2009


Author: dbs
Date: 2009-05-31 23:54:51 -0400 (Sun, 31 May 2009)
New Revision: 13272

Modified:
   trunk/Open-ILS/web/opac/skin/default/js/rdetail.js
Log:
Display incomplete holdings, not missing volumes twice
Improve display of holdings with 100% wide table


Modified: trunk/Open-ILS/web/opac/skin/default/js/rdetail.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/rdetail.js	2009-06-01 03:36:12 UTC (rev 13271)
+++ trunk/Open-ILS/web/opac/skin/default/js/rdetail.js	2009-06-01 03:54:51 UTC (rev 13272)
@@ -254,7 +254,7 @@
 		return null;
 	}
 
-	dojo.place("<table><caption id='mfhdHoldingsCaption' class='rdetail_header color_1'>" +
+	dojo.place("<table style='width: 100%;'><caption id='mfhdHoldingsCaption' class='rdetail_header color_1'>" +
 		dojo.string.substitute(opac_strings.HOLDINGS_TABLE_CAPTION, [holdings.location()]) +
 		"</caption><tbody id='rdetail_holdings_tbody_" + entryNum +
 		"'></tbody></table>", "rdetail_details_table", "after"
@@ -267,7 +267,7 @@
 	if (hci.length > 0) { _holdingsDrawMFHDEntry(entryNum, opac_strings.CURRENT_INDEXES, hci); }
 	if (ho.length > 0) { _holdingsDrawMFHDEntry(entryNum, opac_strings.ONLINE_VOLUMES, ho); }
 	if (hm.length > 0) { _holdingsDrawMFHDEntry(entryNum, opac_strings.MISSING_VOLUMES, hm); }
-	if (hinc.length > 0) { _holdingsDrawMFHDEntry(entryNum, opac_strings.INCOMPLETE_VOLUMES, hm); }
+	if (hinc.length > 0) { _holdingsDrawMFHDEntry(entryNum, opac_strings.INCOMPLETE_VOLUMES, hinc); }
 
 	if (isXUL()) {
 		dojo.require('openils.Event');



More information about the open-ils-commits mailing list