mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-02 05:36:23 +00:00
Monotone-Parent: cb727eb3a474d7cb014bfdc9a65fb7dd9a232c11
Monotone-Revision: 92c2289ec614006e622f8b53dec56357c7d1b889 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-23T21:34:56 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -53,7 +53,7 @@ function validateDate(date, label) {
|
||||
return result;
|
||||
}
|
||||
|
||||
function validateAptEditor() {
|
||||
function validateTaskEditor() {
|
||||
var e, startdate, enddate, tmpdate;
|
||||
|
||||
e = document.getElementById('summary');
|
||||
@@ -186,3 +186,10 @@ function onTimeControlCheck(checkBox) {
|
||||
if (selects[i] != checkBox)
|
||||
selects[i].disabled = !checkBox.checked;
|
||||
}
|
||||
|
||||
function saveEvent(sender) {
|
||||
if (validateTaskEditor())
|
||||
document.forms['editform'].submit();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user