Load Vandelay queue list in Inspect Queue
authorBill Erickson <berick@esilibrary.com>
Fri, 8 Jun 2012 19:51:50 +0000 (15:51 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 11 Jun 2012 16:14:14 +0000 (12:14 -0400)
When the Inspect Queue tab is opened, ensure the list of queues for the
default selected type (bib queues) is loaded.

https://bugs.launchpad.net/evergreen/+bug/1010636

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/web/js/ui/default/vandelay/vandelay.js

index c7ed37c..5d7d6a3 100644 (file)
@@ -344,8 +344,10 @@ function runStartupCommands() {
     dojo.style('vl-nav-bar', 'visibility', 'visible');
     if(currentQueueId)
         return retrieveQueuedRecords(currentType, currentQueueId, handleRetrieveRecords);
-    if (cgi.param('page', 'inspectq'))
+    if (cgi.param('page', 'inspectq')) {
+        vlShowQueueSelect();
         return displayGlobalDiv('vl-queue-select-div');
+    }
         
     vlShowUploadForm();
 }