[open-ils-commits] r10804 - trunk/Open-ILS/web/vandelay
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Oct 9 09:56:32 EDT 2008
Author: erickson
Date: 2008-10-09 09:56:31 -0400 (Thu, 09 Oct 2008)
New Revision: 10804
Modified:
trunk/Open-ILS/web/vandelay/vandelay.js
Log:
fixed authority queue-type setting to match expected values in DB
Modified: trunk/Open-ILS/web/vandelay/vandelay.js
===================================================================
--- trunk/Open-ILS/web/vandelay/vandelay.js 2008-10-09 13:38:32 UTC (rev 10803)
+++ trunk/Open-ILS/web/vandelay/vandelay.js 2008-10-09 13:56:31 UTC (rev 10804)
@@ -237,11 +237,12 @@
* 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))
More information about the open-ils-commits
mailing list