mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-29 15:15:37 +00:00
Monotone-Parent: 3239b46c1626108a2b1a3d6cab30ae4c9bd6a731
Monotone-Revision: a3ce416b24dfccdfe9594ae00a7b6d94421077a9 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-11-13T22:51:32 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -32,10 +32,13 @@ function newEvent(sender, type) {
|
||||
if (!hour)
|
||||
hour = sender.getAttribute("hour");
|
||||
var folder = getSelectedFolder();
|
||||
var roles = folder.getAttribute("roles").split(",");
|
||||
var folderID = folder.getAttribute("id");
|
||||
if ($(roles).indexOf("PublicModifier") < 0)
|
||||
folderID = "/personal";
|
||||
var roles = folder.getAttribute("roles");
|
||||
if (roles) {
|
||||
roles = roles.split(",")
|
||||
if ($(roles).indexOf("PublicModifier") < 0)
|
||||
folderID = "/personal";
|
||||
}
|
||||
var urlstr = ApplicationBaseURL + folderID + "/new" + type;
|
||||
var params = new Array();
|
||||
if (day)
|
||||
|
||||
Reference in New Issue
Block a user