[open-ils-commits] r20021 - branches/rel_1_6_1/Open-ILS/web/opac/skin/default/js (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Apr 7 14:43:26 EDT 2011


Author: phasefx
Date: 2011-04-07 14:43:22 -0400 (Thu, 07 Apr 2011)
New Revision: 20021

Modified:
   branches/rel_1_6_1/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_1/Open-ILS/web/opac/skin/default/js/myopac.js
===================================================================
--- branches/rel_1_6_1/Open-ILS/web/opac/skin/default/js/myopac.js	2011-04-07 18:42:36 UTC (rev 20020)
+++ branches/rel_1_6_1/Open-ILS/web/opac/skin/default/js/myopac.js	2011-04-07 18:43:22 UTC (rev 20021)
@@ -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