mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-07 01:15:09 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user