From: Jason Etheridge Date: Mon, 23 May 2011 15:09:41 +0000 (-0400) Subject: wrong identifier and lingering copy/paste-o in code for Item Status -> Add Items X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=72047148220f78e230cc916e253dd81e15cc0fe4;p=evergreen%2Fequinox.git wrong identifier and lingering copy/paste-o in code for Item Status -> Add Items Signed-off-by: Jason Etheridge --- diff --git a/Open-ILS/xul/staff_client/server/circ/copy_status.js b/Open-ILS/xul/staff_client/server/circ/copy_status.js index ca91ad23a9..9ff0201231 100644 --- a/Open-ILS/xul/staff_client/server/circ/copy_status.js +++ b/Open-ILS/xul/staff_client/server/circ/copy_status.js @@ -492,7 +492,7 @@ circ.copy_status.prototype = { if (! map_acn[volume_id]) { map_acn[ volume_id ] = obj.network.simple_request('FM_ACN_RETRIEVE.authoritative',[ volume_id ]); } - var call_number = obj.map_acn[volume_id]; + var call_number = map_acn[volume_id]; var record_id = call_number.record(); var ou_id = call_number.owning_lib(); var label = call_number.label(); @@ -505,7 +505,6 @@ circ.copy_status.prototype = { var acns_id = typeof call_number.suffix() == 'object' ? call_number.suffix().id() : call_number.suffix(); - if (!copy_shortcut[ou_id]) copy_shortcut[ou_id] = {}; var callnumber_composite_key = acnc_id + ':' + acnp_id + ':' + label + ':' + acns_id; if (!copy_shortcut[record_id]) { copy_shortcut[record_id] = {};