From: dbs Date: Thu, 16 Jul 2009 05:53:11 +0000 (+0000) Subject: Give cataloguers a chance to recover from errors, or add holdings to an empty MFHD... X-Git-Tag: sprint4-merge-nov22~9671 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ec3482076327fb061c94cd946098ba7717a0bcc0;p=working%2FEvergreen.git 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 --- diff --git a/Open-ILS/web/opac/skin/default/js/rdetail.js b/Open-ILS/web/opac/skin/default/js/rdetail.js index c2db9d87e3..1c5546ea86 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("
" +