mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-01 08:29:45 +00:00
Monotone-Parent: 1d9fffa147b786b7f5e72b9d75962ded71d83e96
Monotone-Revision: 033d787afbb95cb745c3e129cd4c09587b3623df Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2012-03-29T18:26:50
This commit is contained in:
@@ -39,7 +39,8 @@ function savePreferences(sender) {
|
||||
sendForm = false;
|
||||
}
|
||||
if ($("enableVacationEndDate") && $("enableVacationEndDate").checked) {
|
||||
var endDate = $("vacationEndDate_date").value.asDate();
|
||||
var e = $("vacationEndDate_date");
|
||||
var endDate = e.calendar.prs_date(e.value);
|
||||
var now = new Date();
|
||||
if (endDate.getTime() < now.getTime()) {
|
||||
showAlertDialog(_("End date of your auto reply must be in the future."));
|
||||
|
||||
Reference in New Issue
Block a user