[open-ils-commits] r20411 - branches/rel_2_1/Open-ILS/web/opac/skin/default/js (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed May 4 01:30:32 EDT 2011
Author: miker
Date: 2011-05-04 01:30:29 -0400 (Wed, 04 May 2011)
New Revision: 20411
Modified:
branches/rel_2_1/Open-ILS/web/opac/skin/default/js/rdetail.js
Log:
Only pass the label to the CN browse search API, that is all we care about for the key
Modified: branches/rel_2_1/Open-ILS/web/opac/skin/default/js/rdetail.js
===================================================================
--- branches/rel_2_1/Open-ILS/web/opac/skin/default/js/rdetail.js 2011-05-04 05:29:32 UTC (rev 20410)
+++ branches/rel_2_1/Open-ILS/web/opac/skin/default/js/rdetail.js 2011-05-04 05:30:29 UTC (rev 20411)
@@ -1130,7 +1130,7 @@
var dHref = 'javascript:rdetailVolumeDetails('+
'{copy_location : "'+cl.replace(/\"/g, '\\"')+'", rowid : "'+row.id+'", cn_prefix :"'+cn[0].replace(/\"/g, '\\"')+'",cn :"'+cn[1].replace(/\"/g, '\\"')+'",cn_suffix :"'+cn[2].replace(/\"/g, '\\"')+'", depth:"'+depth+'", org:"'+orgNode.id()+'", local: '+local+'});';
- var bHref = 'javascript:rdetailShowCNBrowse(["' + cn[0].replace(/\"/g, '\\"') + '","'+cn[1].replace(/\"/g, '\\"') + '","'+cn[2].replace(/\"/g, '\\"') + '"], '+orgNode.id()+', "'+depth+'");';
+ var bHref = 'javascript:rdetailShowCNBrowse("'+cn[1].replace(/\"/g, '\\"') + '", '+orgNode.id()+', "'+depth+'");';
unHideMe( $n(row, 'details') )
$n(row, 'details').setAttribute('href', dHref);
More information about the open-ils-commits
mailing list