add .atomic to the end of the queue export API calls where it belongs
authorberick <berick@esilibrary.com>
Tue, 10 May 2011 14:54:37 +0000 (10:54 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 6 Jul 2011 18:50:52 +0000 (14:50 -0400)
Open-ILS/web/js/ui/default/vandelay/vandelay.js

index d2405cc..bc9a153 100644 (file)
@@ -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);