mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-14 21:04:53 +00:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user