[open-ils-commits] r10803 - trunk/Open-ILS/web/vandelay

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Oct 9 09:38:33 EDT 2008


Author: erickson
Date: 2008-10-09 09:38:32 -0400 (Thu, 09 Oct 2008)
New Revision: 10803

Modified:
   trunk/Open-ILS/web/vandelay/vandelay.js
Log:
fixe method name for new authority queues

Modified: trunk/Open-ILS/web/vandelay/vandelay.js
===================================================================
--- trunk/Open-ILS/web/vandelay/vandelay.js	2008-10-09 13:26:49 UTC (rev 10802)
+++ trunk/Open-ILS/web/vandelay/vandelay.js	2008-10-09 13:38:32 UTC (rev 10803)
@@ -237,8 +237,9 @@
   * 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) {



More information about the open-ils-commits mailing list