From: Thomas Berezansky Date: Mon, 11 Jun 2012 13:26:17 +0000 (-0400) Subject: Vandelay: Update Current Type/ID on queue retrieve X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ac78c7a4163166609527c723f5b20fe674570993;p=working%2FEvergreen.git Vandelay: Update Current Type/ID on queue retrieve Because other parts of the javascript need those values. Signed-off-by: Thomas Berezansky --- diff --git a/Open-ILS/web/js/ui/default/vandelay/vandelay.js b/Open-ILS/web/js/ui/default/vandelay/vandelay.js index 9988eb20a4..5b959fc695 100644 --- a/Open-ILS/web/js/ui/default/vandelay/vandelay.js +++ b/Open-ILS/web/js/ui/default/vandelay/vandelay.js @@ -498,7 +498,9 @@ function retrieveQueuedRecords(type, queueId, onload, doExport) { selectableGridRecords = {}; if(!type) type = currentType; + else currentType = type; if(!queueId) queueId = currentQueueId; + else currentQueueId = queueId; if(!onload) onload = handleRetrieveRecords; var method = 'open-ils.vandelay.'+type+'_queue.records.retrieve';