mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
Fix for bug #1446
Monotone-Parent: 64559b055668abe30f492544f049160b05cf7ab9 Monotone-Revision: 6bee8aebb26a5d4337cc6ae5400d1573f789be82 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2012-01-26T18:19:44
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user