From: Thomas Berezansky Date: Mon, 11 Jun 2012 13:26:17 +0000 (-0400) Subject: Vandelay: Update Current Type/ID on queue retrieve X-Git-Tag: sprint4-merge-nov22~4149 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1839b4447b869a65769cd7fba6f8eb2ed22c47e1;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 Signed-off-by: Lebbeous Fogle-Weekley --- 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';