mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-06 03:55:26 +00:00
See ChangeLog
Monotone-Parent: c3c5403094c30c3fc814d898f3de659d0ca951fc Monotone-Revision: cdffa33720324e664e37834e059eaa9964d13092 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-05-27T20:53:16 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -66,16 +66,18 @@ DIV.listWrapper
|
||||
border-left: 1px solid #9b9b9b;
|
||||
background: #ccddec; }
|
||||
|
||||
/* vacation */
|
||||
/* vacation, forward */
|
||||
#vacation, #forward
|
||||
{ padding-left: 2.5em; }
|
||||
#vacation LABEL
|
||||
{ margin-left: 0; }
|
||||
#vacation TEXTAREA
|
||||
#vacation TEXTAREA,
|
||||
#forward TEXTAREA
|
||||
{ width: 100%; }
|
||||
#vacation TEXTAREA#autoReplyText
|
||||
{ height: 100px; }
|
||||
#vacation TEXTAREA#autoReplyEmailAddresses
|
||||
#vacation TEXTAREA#autoReplyEmailAddresses,
|
||||
#forward TEXTAREA
|
||||
{ height: 50px; }
|
||||
#vacation SPAN
|
||||
{ float: right; }
|
||||
@@ -87,7 +89,7 @@ DIV.listWrapper
|
||||
DIV#filtersListWrapper
|
||||
{ bottom: 30px;
|
||||
right: 2em;
|
||||
top: 154px;
|
||||
top: 164px;
|
||||
left: 2em; }
|
||||
|
||||
TABLE#filtersList
|
||||
|
||||
@@ -37,10 +37,12 @@ function savePreferences(sender) {
|
||||
}
|
||||
|
||||
if ($("enableForward") && $("enableForward").checked) {
|
||||
if (!emailRE.test($("forwardAddress").value)) {
|
||||
alert(_("Please specify an address to which you want to forward your messages."));
|
||||
sendForm = false;
|
||||
}
|
||||
var addresses = $("forwardAddress").value.split(",");
|
||||
for (var i = 0; i < addresses.length && sendForm; i++)
|
||||
if (!emailRE.test(addresses[i].strip())) {
|
||||
alert(_("Please specify an address to which you want to forward your messages."));
|
||||
sendForm = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (isSieveScriptsEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user