From 1d7bf64af376cef4df80a88fa3bc752fe8347236 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 15 Mar 2006 23:28:07 +0000 Subject: [PATCH] writing cookies as "" instead of calling .remove .remove doesn't seem to want to work git-svn-id: svn://svn.open-ils.org/ILS/trunk@3366 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/common/js/opac_utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/web/opac/common/js/opac_utils.js b/Open-ILS/web/opac/common/js/opac_utils.js index 61e8b607bd..66292b120f 100644 --- a/Open-ILS/web/opac/common/js/opac_utils.js +++ b/Open-ILS/web/opac/common/js/opac_utils.js @@ -406,7 +406,7 @@ function grabFleshedUser() { if(!G.user || G.user.length == 0) { G.user = null; return false; - cookieManager.remove(COOKIE_SES); + cookieManager.write(COOKIE_SES,""); } G.user.session = ses; @@ -533,8 +533,8 @@ function doLogout(noredirect) { } G.user = null; - cookieManager.remove(COOKIE_SES); - cookieManager.remove(COOKIE_SKIN); + cookieManager.write(COOKIE_SES, ""); + cookieManager.write(COOKIE_SKIN, ""); checkUserSkin("default"); COUNT = 10; -- 2.43.2