From 3f7b19e70c04dc7fbbed2578320279f1adc3ad81 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 9 Oct 2008 13:56:31 +0000 Subject: [PATCH] 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 --- Open-ILS/web/vandelay/vandelay.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)) -- 2.11.0