From d49ebdc0a9995bfcf7829cd3f5e0b0c2a88509cb Mon Sep 17 00:00:00 2001
From: berick <berick@esilibrary.com>
Date: Tue, 10 May 2011 10:54:37 -0400
Subject: [PATCH] add .atomic to the end of the queue export API calls where it
 belongs

---
 Open-ILS/web/js/ui/default/vandelay/vandelay.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Open-ILS/web/js/ui/default/vandelay/vandelay.js b/Open-ILS/web/js/ui/default/vandelay/vandelay.js
index d2405cce6e..bc9a15370d 100644
--- a/Open-ILS/web/js/ui/default/vandelay/vandelay.js
+++ b/Open-ILS/web/js/ui/default/vandelay/vandelay.js
@@ -441,12 +441,14 @@ function retrieveQueuedRecords(type, queueId, onload, doExport) {
     if(!queueId) queueId = currentQueueId;
     if(!onload) onload = handleRetrieveRecords;
 
-    var method = 'open-ils.vandelay.'+type+'_queue.records.retrieve.atomic';
+    var method = 'open-ils.vandelay.'+type+'_queue.records.retrieve';
 
     if(doExport) method += '.export.' + doExport;
     if(vlQueueGridShowMatches.checked)
         method = method.replace('records', 'records.matches');
 
+    method += '.atomic';
+
     var sel = dojo.byId('vl-queue-display-limit-selector');
     var limit = parseInt(sel.options[sel.selectedIndex].value);
     var offset = limit * parseInt(vlQueueDisplayPage.attr('value')-1);
-- 
2.11.0