[open-ils-commits] r20022 - branches/rel_1_6_2/Open-ILS/web/opac/skin/default/js (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Apr 7 15:46:27 EDT 2011
Author: phasefx
Date: 2011-04-07 15:46:23 -0400 (Thu, 07 Apr 2011)
New Revision: 20022
Modified:
branches/rel_1_6_2/Open-ILS/web/opac/skin/default/js/myopac.js
Log:
test for pre-cat slightly off in OPAC My Account, spotted by Steve Callender
Modified: branches/rel_1_6_2/Open-ILS/web/opac/skin/default/js/myopac.js
===================================================================
--- branches/rel_1_6_2/Open-ILS/web/opac/skin/default/js/myopac.js 2011-04-07 18:43:22 UTC (rev 20021)
+++ branches/rel_1_6_2/Open-ILS/web/opac/skin/default/js/myopac.js 2011-04-07 19:46:23 UTC (rev 20022)
@@ -281,7 +281,7 @@
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);
More information about the open-ils-commits
mailing list