From: phasefx Date: Thu, 7 Apr 2011 18:43:22 +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=bd2a3453486d66f234a6203dcaac22a200d1b375;p=Evergreen.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_1_6_1@20021 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 425843a90e..e6e2adf4ee 100644 --- a/Open-ILS/web/opac/skin/default/js/myopac.js +++ b/Open-ILS/web/opac/skin/default/js/myopac.js @@ -281,7 +281,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);