mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-25 12:18:54 +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:
1 parent
d5d78c5f79
commit
4235abc956
8 files changed
+166
-102
No files matched your search
@@ -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