Monotone-Parent: 56874b8e1d2260289bbdde17c8dbc01a15f354e7

Monotone-Revision: 6fed1c4d16e6a86a4b38ab7174119068a10f5ede

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-09-18T18:03:59
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2008-09-18 18:03:59 +00:00
parent cf911feea7
commit fcfb2c3200
4 changed files with 107 additions and 36 deletions

View File

@@ -73,7 +73,7 @@ function _editEventId(id, calendar, recurrence) {
urlstr += "/" + recurrence;
targetname += recurrence;
}
urlstr += "/edit"; log (urlstr);
urlstr += "/edit";
var win = window.open(urlstr, "_blank",
"width=490,height=470,resizable=0");
if (win)
@@ -1940,6 +1940,15 @@ function onBodyClickHandler(event) {
$("eventDialog").hide();
}
function onWindowResize(event) {
var handle = $("verticalDragHandle");
if (handle)
handle.adjust();
handle = $("rightDragHandle");
if (handle)
handle.adjust();
}
function initCalendars() {
sorting["attribute"] = "start";
sorting["ascending"] = true;
@@ -1954,6 +1963,9 @@ function initCalendars() {
selector.attachMenu("calendarsMenu");
$(document.body).observe("click", onBodyClickHandler);
}
Event.observe(window, "resize", onWindowResize);
onWindowResize(null);
}
FastInit.addOnLoad(initCalendars);