From: phasefx Date: Thu, 7 Apr 2011 18:41:05 +0000 (+0000) Subject: test for pre-cat slightly off in OPAC My Account, spotted by Steve Callender X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1a4b59589f1dd3dd49506f65b6d4b5d36b2c1c3c;p=evergreen%2Fjoelewis.git test for pre-cat slightly off in OPAC My Account, spotted by Steve Callender git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_1@20018 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 819f8aa048..8f136b1146 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);