make sure toolbar is visible if going directly to queue page via url param
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 6 Oct 2008 17:27:57 +0000 (17:27 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 6 Oct 2008 17:27:57 +0000 (17:27 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10764 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/vandelay/vandelay.js

index eb48e1b..80c23ce 100644 (file)
@@ -206,9 +206,9 @@ function displayGlobalDiv(id) {
 function runStartupCommands() {
     currentQueueId = cgi.param('qid');
     currentType = cgi.param('qtype');
 function runStartupCommands() {
     currentQueueId = cgi.param('qid');
     currentType = cgi.param('qtype');
+    dojo.style('vl-nav-bar', 'visibility', 'visible');
     if(currentQueueId)
         return retrieveQueuedRecords(currentType, currentQueueId, handleRetrieveRecords);
     if(currentQueueId)
         return retrieveQueuedRecords(currentType, currentQueueId, handleRetrieveRecords);
-    dojo.style('vl-nav-bar', 'visibility', 'visible');
     vlShowUploadForm();
 }
 
     vlShowUploadForm();
 }