From: erickson Date: Thu, 9 Oct 2008 13:38:32 +0000 (+0000) Subject: fixe method name for new authority queues X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6f48fae552091e1d66324d4a711bb4bcad8b096a;p=Evergreen.git fixe method name for new authority queues git-svn-id: svn://svn.open-ils.org/ILS/trunk@10803 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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) {