mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-25 00:13:24 +00:00
See ChangeLogs
Monotone-Parent: e2ba584b1367987b411373efc53338c1daf189da Monotone-Revision: ea7589320f5747a3bd1bbec33e1bd8776e4041db Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-04-21T14:34:22 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -4,5 +4,8 @@ SELECT#calendarList
|
||||
#attendeesLabel
|
||||
{ display: none; }
|
||||
|
||||
SPAN.datePicker INPUT.textField
|
||||
{ width: 7em; }
|
||||
|
||||
SPAN.timeDateControl A.button
|
||||
{ border: 0; }
|
||||
|
||||
@@ -132,7 +132,10 @@ function onComponentEditorLoad(event) {
|
||||
|
||||
$("repeatHref").observe("click", onPopupRecurrenceWindow);
|
||||
$("repeatList").observe("change", onPopupRecurrenceWindow);
|
||||
$("reminderHref").observe("click", onPopupReminderWindow);
|
||||
$("reminderList").observe("change", onPopupReminderWindow);
|
||||
onPopupRecurrenceWindow(null);
|
||||
onPopupReminderWindow(null);
|
||||
}
|
||||
|
||||
function onPopupRecurrenceWindow(event) {
|
||||
@@ -153,4 +156,22 @@ function onPopupRecurrenceWindow(event) {
|
||||
return false;
|
||||
}
|
||||
|
||||
function onPopupReminderWindow(event) {
|
||||
if (event)
|
||||
preventDefault(event);
|
||||
|
||||
var reminderHref = $("reminderHref");
|
||||
|
||||
if ($("reminderList").value == 15) {
|
||||
reminderHref.show();
|
||||
if (event)
|
||||
window.open(ApplicationBaseURL + "editReminder", null,
|
||||
"width=250,height=150");
|
||||
}
|
||||
else
|
||||
reminderHref.hide();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
document.observe("dom:loaded", onComponentEditorLoad);
|
||||
|
||||
@@ -104,6 +104,3 @@ LABEL#urlArea INPUT
|
||||
|
||||
INPUT#statusPercent
|
||||
{ width: 2em; }
|
||||
|
||||
INPUT#statusTime_date
|
||||
{ width: 5em; }
|
||||
|
||||
@@ -55,7 +55,7 @@ function validateTaskEditor() {
|
||||
if (!enddate)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if (startdate && enddate) {
|
||||
tmpdate = uixEarlierDate(startdate, enddate);
|
||||
if (tmpdate == enddate) {
|
||||
@@ -164,6 +164,8 @@ function onTimeControlCheck(checkBox) {
|
||||
for (var i = 0; i < selects.length; i++)
|
||||
if (selects[i] != checkBox)
|
||||
selects[i].disabled = !checkBox.checked;
|
||||
if (checkBox.id == "dueDateCB")
|
||||
$("reminderList").disabled = !checkBox.checked;
|
||||
}
|
||||
|
||||
function saveEvent(sender) {
|
||||
@@ -307,7 +309,10 @@ function onTaskEditorLoad() {
|
||||
'hour': $("dueTime_time_hour"),
|
||||
'minute': $("dueTime_time_minute")}};
|
||||
initTimeWidgets(widgets);
|
||||
|
||||
|
||||
// Enable or disable the reminder list
|
||||
onTimeControlCheck($("dueDateCB"));
|
||||
|
||||
initializeStatusLine();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user