Monotone-Parent: 04adb21a2d66943bc4fbda82a60f41695303ccfb

Monotone-Revision: 771d7ebe867ac081c62c4c31e2177ddc7ac487a9

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-01-14T23:19:19
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-01-14 23:19:19 +00:00
parent cbf4bc2519
commit aaded8c774
71 changed files with 2856 additions and 1407 deletions
+5 -4
View File
@@ -1891,16 +1891,17 @@ function onCalendarModify(event) {
var url = ApplicationBaseURL + calendarID + "/properties";
var windowID = sanitizeWindowName(calendarID + " properties");
var width = 310;
var height = 270;
var height = 310;
var isWebCalendar = false;
if (UserSettings['Calendar']
&& UserSettings['Calendar']['WebCalendars']) {
var webCalendars = UserSettings['Calendar']['WebCalendars'];
var realID = calendarID.substr (1, calendarID.length - 1);
if (webCalendars[realID])
height = 290;
isWebCalendar = true;
}
if (calendarID == "/personal")
height = 250;
if (isWebCalendar || calendarID == "/personal")
height -= 25;
var properties = window.open(url, windowID,
"width="+width+",height="+height+",resizable=0");