From: Bill Erickson Date: Wed, 29 Oct 2014 21:10:15 +0000 (-0400) Subject: KMAIN-1330 modified update_items.js to pull the copy's call number (aka label) to... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9c452704881a5ba07e3c34fa8618eb4760e9628c;p=working%2FEvergreen.git 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 --- 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');