Monotone-Parent: 95d8923e8079c979c08c78e8ff746c5c72aad02f

Monotone-Revision: be6f53a63508a39bc22a09d7c9f9b0cd33845b11

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2007-05-28T16:12:06
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2007-05-28 16:12:06 +00:00
parent 71c48977b6
commit 3edb30fb31
10 changed files with 439 additions and 267 deletions

View File

@@ -1,6 +1,6 @@
var contactSelectorAction = 'calendars-contacts';
window.addEventListener("load", onTaskEditorLoad, false);
addEvent(window, 'DOMContentLoaded', onTaskEditorLoad);
function uixEarlierDate(date1, date2) {
// can this be done in a sane way?
@@ -249,9 +249,9 @@ this.onAdjustDueTime = function(event) {
this.initTimeWidgets = function (widgets) {
this.timeWidgets = widgets;
widgets['start']['date'].addEventListener("change", this.onAdjustDueTime, false);
widgets['start']['hour'].addEventListener("change", this.onAdjustDueTime, false);
widgets['start']['minute'].addEventListener("change", this.onAdjustDueTime, false);
Event.observe(widgets['start']['date'], "change", this.onAdjustDueTime, false);
Event.observe(widgets['start']['hour'], "change", this.onAdjustDueTime, false);
Event.observe(widgets['start']['minute'], "change", this.onAdjustDueTime, false);
}
function onStatusListChange(event) {
@@ -288,7 +288,7 @@ function onStatusListChange(event) {
function initializeStatusLine() {
var statusList = $("statusList");
statusList.addEventListener("mouseup", onStatusListChange, false);
Event.observe(statusList, "mouseup", onStatusListChange, false);
}
function onTaskEditorLoad() {