From 9c452704881a5ba07e3c34fa8618eb4760e9628c Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 29 Oct 2014 17:10:15 -0400 Subject: [PATCH] KMAIN-1330 modified update_items.js to pull the copy's call number (aka label) to prepopulate the call number text box in update items Cross-port: 7582b9e --- Open-ILS/xul/staff_client/server/cat/update_items.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/server/cat/update_items.js b/Open-ILS/xul/staff_client/server/cat/update_items.js index b2255ae663..52ad3681f2 100644 --- a/Open-ILS/xul/staff_client/server/cat/update_items.js +++ b/Open-ILS/xul/staff_client/server/cat/update_items.js @@ -649,7 +649,9 @@ g.render_callnumber_copy_count_entry = function(rows,row,ou_id,isFirst,vol_id){ call_number_textbox.addEventListener( 'focus', function(ev) { g.last_focus = ev.target; }, false ); // First set the label - call_number_textbox.value = g.callnumber_label; + var copy_call_number = g.org_label_existing_copy_map[ou_id][vol_id][0].a[3].a[7]; + call_number_textbox.value = copy_call_number; + /**** NUMBER OF COPIES COLUMN ****/ var number_of_copies_node = document.createElement('vbox'); -- 2.11.0