From: Jeff Godin Date: Mon, 23 Apr 2012 06:49:40 +0000 (-0400) Subject: Only show series if there is content X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6225b7107145adb6b28d9ace966ea33990357f09;p=evergreen%2Ftadl.git Only show series if there is content Only show series if there is content available for that field. Also, show series by default without need to select "More Info". Signed-off-by: Jeff Godin --- diff --git a/Open-ILS/web/opac/skin/tadlv4/js/rdetail.js b/Open-ILS/web/opac/skin/tadlv4/js/rdetail.js index 58b310cd9d..20a2c49214 100644 --- a/Open-ILS/web/opac/skin/tadlv4/js/rdetail.js +++ b/Open-ILS/web/opac/skin/tadlv4/js/rdetail.js @@ -445,7 +445,7 @@ function _rdetailDraw(r) { G.ui.rdetail.publisher.appendChild(text(record.publisher())); $('rdetail_physical_desc').appendChild(text(record.physical_description())); - if (record.series()) { + if (record.series() && record.series() != '') { unHideMe($("series_row")); $('rdetail_series').appendChild(text(record.series())); } diff --git a/Open-ILS/web/opac/skin/tadlv4/xml/rdetail/rdetail_summary.xml b/Open-ILS/web/opac/skin/tadlv4/xml/rdetail/rdetail_summary.xml index fca753d0b4..19609d3294 100644 --- a/Open-ILS/web/opac/skin/tadlv4/xml/rdetail/rdetail_summary.xml +++ b/Open-ILS/web/opac/skin/tadlv4/xml/rdetail/rdetail_summary.xml @@ -66,7 +66,7 @@ - + Series