[open-ils-commits] r18406 - 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
Wed Oct 20 11:24:53 EDT 2010
Author: phasefx
Date: 2010-10-20 11:24:51 -0400 (Wed, 20 Oct 2010)
New Revision: 18406
Modified:
branches/rel_1_6_1/Open-ILS/web/opac/skin/default/js/rresult.js
Log:
fix record result page in opac so that lack of an rt parameter works correctly
Modified: branches/rel_1_6_1/Open-ILS/web/opac/skin/default/js/rresult.js
===================================================================
--- branches/rel_1_6_1/Open-ILS/web/opac/skin/default/js/rresult.js 2010-10-20 15:24:45 UTC (rev 18405)
+++ branches/rel_1_6_1/Open-ILS/web/opac/skin/default/js/rresult.js 2010-10-20 15:24:51 UTC (rev 18406)
@@ -31,7 +31,7 @@
var ids;
var rtype = getRtype();
- if (rtype.indexOf('|') > -1)
+ if (rtype && rtype.indexOf('|') > -1)
rtype = rtype.substring(0,rtype.indexOf('|'));
switch(rtype) {
More information about the open-ils-commits
mailing list