Major refresh of CSS stylesheets.

Monotone-Parent: 508bbe52515b0ad7119c755b4cc91d17e313c06b
Monotone-Revision: d09001490c2d88332ef3ec446bfd0aa488d0de8c

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-11-04T22:13:20
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-11-04 22:13:20 +00:00
parent a0eef52a7f
commit 468073b131
92 changed files with 1538 additions and 1311 deletions
+14 -12
View File
@@ -1,20 +1,20 @@
/* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
function onLoadCalendarProperties() {
var colorButton = $("colorButton");
var calendarColor = $("calendarColor");
colorButton.setStyle({ "backgroundColor": calendarColor.value, display: "inline" });
colorButton.observe("click", onColorClick);
var cancelButton = $("cancelButton");
cancelButton.observe("click", onCancelClick);
var okButton = $("okButton");
okButton.observe("click", onOKClick);
var colorButton = $("colorButton");
var calendarColor = $("calendarColor");
colorButton.setStyle({ "backgroundColor": calendarColor.value, display: "inline" });
colorButton.observe("click", onColorClick);
var cancelButton = $("cancelButton");
cancelButton.observe("click", onCancelClick);
var okButton = $("okButton");
okButton.observe("click", onOKClick);
}
function onCancelClick(event) {
window.close();
window.close();
}
function onOKClick(event) {
@@ -52,10 +52,12 @@ function onOKClick(event) {
&& !originalTag.value.blank())
save = confirm(getLabel("tagWasRemoved"));
if (save)
if (save) {
window.opener.updateCalendarProperties(calendarID.value,
calendarName.value,
calendarColor.value);
$("propertiesform").submit();
}
else
Event.stop(event);
}