From 81047bc888e7f888554684e9336887615d3b5341 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 20 Oct 2010 15:24:37 +0000 Subject: [PATCH] fix record result page in opac so that lack of an rt parameter works correctly git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18404 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/skin/default/js/rresult.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/opac/skin/default/js/rresult.js b/Open-ILS/web/opac/skin/default/js/rresult.js index 4a7fb35957..47df34e808 100644 --- a/Open-ILS/web/opac/skin/default/js/rresult.js +++ b/Open-ILS/web/opac/skin/default/js/rresult.js @@ -31,7 +31,7 @@ function rresultCollectIds() { var ids; var rtype = getRtype(); - if (rtype.indexOf('|') > -1) + if (rtype && rtype.indexOf('|') > -1) rtype = rtype.substring(0,rtype.indexOf('|')); switch(rtype) { -- 2.11.0