[open-ils-commits] r18404 - branches/rel_1_6/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:40 EDT 2010
Author: phasefx
Date: 2010-10-20 11:24:37 -0400 (Wed, 20 Oct 2010)
New Revision: 18404
Modified:
branches/rel_1_6/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/Open-ILS/web/opac/skin/default/js/rresult.js
===================================================================
--- branches/rel_1_6/Open-ILS/web/opac/skin/default/js/rresult.js 2010-10-20 15:24:08 UTC (rev 18403)
+++ branches/rel_1_6/Open-ILS/web/opac/skin/default/js/rresult.js 2010-10-20 15:24:37 UTC (rev 18404)
@@ -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