From: erickson Date: Mon, 16 Mar 2009 02:43:58 +0000 (+0000) Subject: changed cookie base to the more generic oilsBasePath X-Git-Tag: sprint4-merge-nov22~10517 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cb9da3f61ee9e5ec9ee91210d5cbb4fa231dad6c;p=working%2FEvergreen.git changed cookie base to the more generic oilsBasePath git-svn-id: svn://svn.open-ils.org/ILS/trunk@12532 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/js/ui/base.js b/Open-ILS/web/js/ui/base.js index 99cb583008..7c650cc06f 100644 --- a/Open-ILS/web/js/ui/base.js +++ b/Open-ILS/web/js/ui/base.js @@ -24,7 +24,7 @@ function oilsSetupUser() { }); return; } - dojo.cookie('ses', authtoken, {path : oilsCookieBase}); + dojo.cookie('ses', authtoken, {path : oilsBasePath}); openils.User.authtoken = authtoken; openils.User.workstation = dojo.cookie('oils.ws'); } @@ -36,7 +36,7 @@ function oilsDoLogin() { passwd: dojo.byId('oils-login-password').value, type: 'staff' // hardcode for now }); - dojo.cookie('ses', user.authtoken, {path : oilsCookieBase}); + dojo.cookie('ses', user.authtoken, {path : oilsBasePath}); location.href = location.href; return false; } diff --git a/Open-ILS/web/templates/base.tt2 b/Open-ILS/web/templates/base.tt2 index 2153016441..2909880c3b 100644 --- a/Open-ILS/web/templates/base.tt2 +++ b/Open-ILS/web/templates/base.tt2 @@ -10,7 +10,7 @@ djConfig="parseOnLoad: true, isDebug:true">