Monotone-Parent: 64559b055668abe30f492544f049160b05cf7ab9
Monotone-Revision: 6bee8aebb26a5d4337cc6ae5400d1573f789be82

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-01-26T18:19:44
This commit is contained in:
Ludovic Marcotte
2012-01-26 18:19:44 +00:00
parent 2d03fb1055
commit c4783b14d0
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -34,6 +34,10 @@ function savePreferences(sender) {
showAlertDialog(_("Please specify your message and your email addresses for which you want to enable auto reply."));
sendForm = false;
}
if ($("autoReplyText").value.strip().endsWith('\n.')) {
showAlertDialog(_("Your vacation message must not end with a single dot on a line."));
sendForm = false;
}
if ($("enableVacationEndDate") && $("enableVacationEndDate").checked) {
var endDate = new Date($("vacationEndDate_date").value);
var now = new Date();