From 6225b7107145adb6b28d9ace966ea33990357f09 Mon Sep 17 00:00:00 2001 From: Jeff Godin Date: Mon, 23 Apr 2012 02:49:40 -0400 Subject: [PATCH] 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 --- Open-ILS/web/opac/skin/tadlv4/js/rdetail.js | 2 +- Open-ILS/web/opac/skin/tadlv4/xml/rdetail/rdetail_summary.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.11.0