[open-ils-commits] r9327 - trunk/Open-ILS/web/opac/common/js

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Apr 13 14:55:40 EDT 2008


Author: dbs
Date: 2008-04-13 14:17:49 -0400 (Sun, 13 Apr 2008)
New Revision: 9327

Modified:
   trunk/Open-ILS/web/opac/common/js/opac_utils.js
Log:
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.


Modified: trunk/Open-ILS/web/opac/common/js/opac_utils.js
===================================================================
--- trunk/Open-ILS/web/opac/common/js/opac_utils.js	2008-04-13 15:52:06 UTC (rev 9326)
+++ trunk/Open-ILS/web/opac/common/js/opac_utils.js	2008-04-13 18:17:49 UTC (rev 9327)
@@ -714,7 +714,7 @@
 	return u;
 }
 
-function doLogout(noredirect) {
+function doLogout() {
 
 	/* cancel everything else */
 	abortAllRequests();



More information about the open-ils-commits mailing list