mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-20 05:45:57 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user