From: phasefx Date: Thu, 7 Apr 2011 18:42:36 +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=122f01523e5f4a8d587ac66d77b6195f07806f66;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@20020 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);