hobgoblins
authorJason Etheridge <jason@esilibrary.com>
Thu, 10 Mar 2011 06:04:02 +0000 (01:04 -0500)
committerJason Etheridge <jason@esilibrary.com>
Thu, 10 Mar 2011 06:04:02 +0000 (01:04 -0500)
Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js

index 1edab41..da8134e 100644 (file)
@@ -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],