From: Bill Erickson <berick@esilibrary.com> Date: Wed, 25 Jul 2012 13:14:06 +0000 (-0400) Subject: lp1028906 : Vandelay inspect queue page load repair X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0b1d3ca56e7113be185f869a632fd8e49912d040;p=evergreen%2Fmasslnc.git lp1028906 : Vandelay inspect queue page load repair This is the result of a bug in the code that went unnoticed until c108746532548fd8d3fadd15736375a57208d485 (CGI.js additions). This patch repairs how Vandelay checks the CGI param to determine if it should load the 'inspectq' page on load. Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com> --- diff --git a/Open-ILS/web/js/ui/default/vandelay/vandelay.js b/Open-ILS/web/js/ui/default/vandelay/vandelay.js index 5b959fc695..2728b4c53f 100644 --- a/Open-ILS/web/js/ui/default/vandelay/vandelay.js +++ b/Open-ILS/web/js/ui/default/vandelay/vandelay.js @@ -344,7 +344,7 @@ 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') return vlShowQueueSelect(); vlShowUploadForm();