mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 14:28:52 +00:00
Monotone-Parent: c2a5e3fb9246462545f9ecf1c552400ae0d6a9e9
Monotone-Revision: b8ad0061e865a522c79c6a19bc8d7841469af81a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-06-02T19:11:15 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -20,7 +20,7 @@ function savePreferences(sender) {
|
||||
var end = $("dayEndTime");
|
||||
var selectedEnd = parseInt(end.options[end.selectedIndex].value);
|
||||
if (selectedStart >= selectedEnd) {
|
||||
alert (getLabel ("Day start time must be prior to day end time."));
|
||||
alert (_("Day start time must be prior to day end time."));
|
||||
sendForm = false;
|
||||
}
|
||||
}
|
||||
@@ -28,14 +28,14 @@ function savePreferences(sender) {
|
||||
if ($("enableVacation") && $("enableVacation").checked) {
|
||||
if ($("autoReplyText").value.strip().length == 0
|
||||
|| $("autoReplyEmailAddresses").value.strip().length == 0) {
|
||||
alert(getLabel("Please specify your message and your email addresses for which you want to enable auto reply."));
|
||||
alert(_("Please specify your message and your email addresses for which you want to enable auto reply."));
|
||||
sendForm = false;
|
||||
}
|
||||
}
|
||||
|
||||
if ($("enableForward") && $("enableForward").checked) {
|
||||
if ($("forwardAddress").value.strip().length == 0) {
|
||||
alert(getLabel("Please specify an address to which you want to forward your messages."));
|
||||
alert(_("Please specify an address to which you want to forward your messages."));
|
||||
sendForm = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user