Monotone-Parent: 6550d093f75808cf03c8781a80f346a0cedf836a

Monotone-Revision: 3a5f7ecea6abc6df1d89a08f33863028e17c287c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-02-11T02:38:01
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-02-11 02:38:01 +00:00
parent cceeebc234
commit b33f9753e1
2 changed files with 8 additions and 1 deletions
+3
View File
@@ -1,5 +1,8 @@
2010-02-10 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/WebServerResources/SOGoRootPage.js (initLogin): discard the
login cookie with the appName set as cookie path.
* UI/WebServerResources/SchedulerUI.js (newEvent): removed the
useless "sender" parameter and added "day", "hour" and "duration"
parameters to obtain a more generic method.
+5 -1
View File
@@ -3,9 +3,13 @@
function initLogin() {
var date = new Date();
date.setTime(date.getTime() - 86400000);
var href = $("connectForm").action.split("/");
var appName = href[href.length-2];
document.cookie = ("0xHIGHFLYxSOGo=discarded"
+ "; expires=" + date.toGMTString()
+ "; path=/");
+ "; path=/" + appName + "/");
var about = $("about");
if (about) {