From ec3482076327fb061c94cd946098ba7717a0bcc0 Mon Sep 17 00:00:00 2001 From: dbs Date: Thu, 16 Jul 2009 05:53:11 +0000 Subject: [PATCH] Give cataloguers a chance to recover from errors, or add holdings to an empty MFHD record git-svn-id: svn://svn.open-ils.org/ILS/trunk@13611 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/skin/default/js/rdetail.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/opac/skin/default/js/rdetail.js b/Open-ILS/web/opac/skin/default/js/rdetail.js index c2db9d87e..1c5546ea8 100644 --- a/Open-ILS/web/opac/skin/default/js/rdetail.js +++ b/Open-ILS/web/opac/skin/default/js/rdetail.js @@ -253,7 +253,12 @@ function _holdingsDrawMFHD(holdings, entryNum) { hcs.length == 0 && hi.length == 0 && hci.length == 0 && ho.length == 0 && hm.length == 0 && hinc.length == 0 && !isXUL() ) { - return null; + /* + * If we have a record, but nothing to show for it, then the + * record is likely empty or corrupt. This gives cataloguers a + * chance to add holdings or correct the record + */ + hh = 'PLACEHOLDER'; } dojo.place("
" + -- 2.11.0