From 72047148220f78e230cc916e253dd81e15cc0fe4 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Mon, 23 May 2011 11:09:41 -0400 Subject: [PATCH] wrong identifier and lingering copy/paste-o in code for Item Status -> Add Items Signed-off-by: Jason Etheridge --- Open-ILS/xul/staff_client/server/circ/copy_status.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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] = {}; -- 2.11.0