mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-30 07:35:39 +00:00
Monotone-Parent: 538aedd7d01174f61f329561b71c913f2c048a26
Monotone-Revision: d4724feea77a2bfe4a1315b1572ab4ae3ea3afc9 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-01-19T12:28:10 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1891,17 +1891,20 @@ function onCalendarModify(event) {
|
||||
var url = ApplicationBaseURL + calendarID + "/properties";
|
||||
var windowID = sanitizeWindowName(calendarID + " properties");
|
||||
var width = 310;
|
||||
var height = 310;
|
||||
var height = 260;
|
||||
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])
|
||||
if (webCalendars[realID]) {
|
||||
isWebCalendar = true;
|
||||
}
|
||||
}
|
||||
if (isWebCalendar || calendarID == "/personal")
|
||||
height -= 25;
|
||||
if (isWebCalendar)
|
||||
height += 25;
|
||||
else if (calendarID == "/personal")
|
||||
height -= 25;
|
||||
|
||||
var properties = window.open(url, windowID,
|
||||
"width="+width+",height="+height+",resizable=0");
|
||||
|
||||
Reference in New Issue
Block a user