From: Jason Etheridge Date: Thu, 10 Mar 2011 06:04:02 +0000 (-0500) Subject: hobgoblins X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=be51ea6f5ee208df355f22cd48225132d80351f7;p=evergreen%2Fequinox.git hobgoblins --- diff --git a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js index 1edab41341..da8134e675 100644 --- a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js +++ b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js @@ -708,7 +708,7 @@ g.gather_copies = function() { g.volumes_scaffold = { '#ou_id' : { '#class_id:#prefix_id:#callnumber label:#suffix_id' : { - 'call_number_data' : { + 'callnumber_data' : { 'acn_id' : '#callnumber id', 'acn_label' : '#callnumber label', 'acnc_id' : '#classification_id', @@ -747,7 +747,7 @@ g.gather_copies = function() { if (typeof g.volumes_scaffold[ou_id][composite_key] == 'undefined') { g.volumes_scaffold[ou_id][composite_key] = { 'node' : nl[i], - 'call_number_data' : { + 'callnumber_data' : { 'acn_id' : acn_id, 'acn_label' : callnumber, 'acnc_id' : acnc_id, @@ -776,7 +776,7 @@ g.gather_copies = function() { dump('2: when does this happen, and why? ou_id = ' + ou_id + ' callnumber_composite_key = ' + callnumber_composite_key + '\n'); // one way this can happen, race condition between this function and editing a widget g.volumes_scaffold[ou_id][callnumber_composite_key] = { - 'call_number_data' : { + 'callnumber_data' : { // not ideal, but hey... 'acn_label' : callnumber_composite_key.split(/:/).slice(2,-1).join(':'), 'acnc_id' : callnumber_composite_key.split(/:/)[0],