mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-28 14:45:28 +00:00
Monotone-Parent: f050642fcfd85a888681137f9572e2646d4cadc9
Monotone-Revision: 4836e88278f663b165807bc739419dea0b0b3c73 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-06-05T04:46:12 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -2231,7 +2231,7 @@ function onCalendarModify(event) {
|
||||
var url = ApplicationBaseURL + calendarID + "/properties";
|
||||
var windowID = sanitizeWindowName(calendarID + " properties");
|
||||
var width = 310;
|
||||
var height = 275;
|
||||
var height = 330;
|
||||
var isWebCalendar = false;
|
||||
if (UserSettings['Calendar']
|
||||
&& UserSettings['Calendar']['WebCalendars']) {
|
||||
@@ -2245,10 +2245,12 @@ function onCalendarModify(event) {
|
||||
if (owner == UserLogin) {
|
||||
height += 24;
|
||||
}
|
||||
if (isWebCalendar)
|
||||
height += 41;
|
||||
else if (calendarID == "/personal")
|
||||
if (isWebCalendar) {
|
||||
height -= 38;
|
||||
}
|
||||
else if (calendarID == "/personal") {
|
||||
height -= 26;
|
||||
}
|
||||
|
||||
var properties = window.open(url, windowID,
|
||||
"width="+width+",height="+height+",resizable=0");
|
||||
|
||||
Reference in New Issue
Block a user