From: erickson Date: Thu, 9 Oct 2008 13:56:31 +0000 (+0000) Subject: fixed authority queue-type setting to match expected values in DB X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3f7b19e70c04dc7fbbed2578320279f1adc3ad81;p=Evergreen.git fixed authority queue-type setting to match expected values in DB git-svn-id: svn://svn.open-ils.org/ILS/trunk@10804 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/vandelay/vandelay.js b/Open-ILS/web/vandelay/vandelay.js index 17249aa6a8..ca02597ef9 100644 --- a/Open-ILS/web/vandelay/vandelay.js +++ b/Open-ILS/web/vandelay/vandelay.js @@ -237,11 +237,12 @@ function uploadMARC(onload){ * Creates a new vandelay queue */ function createQueue(queueName, type, onload) { - var method = 'open-ils.vandelay.'+ ((type=='bib') ? 'bib' : 'authority') +'_queue.create' + var name = (type=='bib') ? 'bib' : 'authority'; + var method = 'open-ils.vandelay.'+ name +'_queue.create' fieldmapper.standardRequest( ['open-ils.vandelay', method], { async: true, - params: [authtoken, queueName, null, type], + params: [authtoken, queueName, null, name], oncomplete : function(r) { var queue = r.recv().content(); if(e = openils.Event.parse(queue))