From 6f48fae552091e1d66324d4a711bb4bcad8b096a Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 9 Oct 2008 13:38:32 +0000 Subject: [PATCH] fixe method name for new authority queues git-svn-id: svn://svn.open-ils.org/ILS/trunk@10803 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/vandelay/vandelay.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/vandelay/vandelay.js b/Open-ILS/web/vandelay/vandelay.js index 021b26fabe..17249aa6a8 100644 --- a/Open-ILS/web/vandelay/vandelay.js +++ b/Open-ILS/web/vandelay/vandelay.js @@ -237,8 +237,9 @@ function uploadMARC(onload){ * Creates a new vandelay queue */ function createQueue(queueName, type, onload) { + var method = 'open-ils.vandelay.'+ ((type=='bib') ? 'bib' : 'authority') +'_queue.create' fieldmapper.standardRequest( - ['open-ils.vandelay', 'open-ils.vandelay.'+type+'_queue.create'], + ['open-ils.vandelay', method], { async: true, params: [authtoken, queueName, null, type], oncomplete : function(r) { -- 2.11.0