[open-ils-commits] r13634 - trunk/Open-ILS/web/js/ui (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Jul 20 15:39:46 EDT 2009
Author: erickson
Date: 2009-07-20 15:39:45 -0400 (Mon, 20 Jul 2009)
New Revision: 13634
Modified:
trunk/Open-ILS/web/js/ui/base.js
Log:
specific cookie path not playing nicely when communicating with staff client cookies, in particular, change operator functionality. go back to global cookies
Modified: trunk/Open-ILS/web/js/ui/base.js
===================================================================
--- trunk/Open-ILS/web/js/ui/base.js 2009-07-20 15:33:54 UTC (rev 13633)
+++ trunk/Open-ILS/web/js/ui/base.js 2009-07-20 19:39:45 UTC (rev 13634)
@@ -25,7 +25,7 @@
});
return;
}
- dojo.cookie('ses', authtoken, {path : oilsBasePath});
+ dojo.cookie('ses', authtoken, {path:'/'});
openils.User.authtoken = authtoken;
openils.User.workstation = workstation;
}
@@ -42,7 +42,7 @@
if(workstation)
args.workstation = workstation;
user.login(args);
- dojo.cookie('ses', user.authtoken, {path : oilsBasePath});
+ dojo.cookie('ses', user.authtoken, {path : '/'});
location.href = location.href;
return false;
}
More information about the open-ils-commits
mailing list