From: dbs Date: Sun, 13 Apr 2008 18:17:49 +0000 (+0000) Subject: At various points in opac_utils.js, there are calls to doLogout() (no parms). X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d02b96b5878a5f652860a0587f2763fb75d60be4;p=Evergreen.git At various points in opac_utils.js, there are calls to doLogout() (no parms). However, Firefox complains that doLogout() is not defined. The only defined function is doLogout(noredirect) (one parm). As I can't find any instances of doLogout being called with a parameter, and I can't see noredirect being used anywhere in the function, the simplest patch appears to be to just remove the parameter from the prototype. git-svn-id: svn://svn.open-ils.org/ILS/trunk@9327 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/common/js/opac_utils.js b/Open-ILS/web/opac/common/js/opac_utils.js index 2a2da8bbbd..c730e50da0 100644 --- a/Open-ILS/web/opac/common/js/opac_utils.js +++ b/Open-ILS/web/opac/common/js/opac_utils.js @@ -714,7 +714,7 @@ function doLogin(suppressEvents) { return u; } -function doLogout(noredirect) { +function doLogout() { /* cancel everything else */ abortAllRequests();