From: phasefx Date: Thu, 7 Apr 2011 18:40:35 +0000 (+0000) Subject: test for pre-cat slightly off in OPAC My Account, spotted by Steve Callender X-Git-Url: http://git.equinoxoli.org/?p=evergreen-equinox.git;a=commitdiff_plain;h=26160d2208a0a7993b23de14b1ca8ffc2538907f test for pre-cat slightly off in OPAC My Account, spotted by Steve Callender git-svn-id: svn://svn.open-ils.org/ILS/trunk@20017 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/skin/default/js/myopac.js b/Open-ILS/web/opac/skin/default/js/myopac.js index 819f8aa..8f136b1 100644 --- a/Open-ILS/web/opac/skin/default/js/myopac.js +++ b/Open-ILS/web/opac/skin/default/js/myopac.js @@ -286,7 +286,7 @@ function myOPACDrawCheckedTitle(r) { var circid = r.circ; /* Draw pre-cataloged items */ - if(!record || checkILSEvent(record) || !(record.title() && record.author())) { + if(!record || checkILSEvent(record) || !(record.title() || record.author())) { var req = new Request( FETCH_COPY, r.copy ); req.request.circ = circid; req.callback(myOPACDrawPreCatalogedItem);