mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 17:05:10 +00:00
See ChangeLog.
Monotone-Parent: aa311a74c94078a5b69b3e41fcc28b5fab3a23e0 Monotone-Revision: c4988e0379d3f99f40a98620c2c808a000bc5c58 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-10-07T20:35:14 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -533,7 +533,10 @@ function onMailIdentitySignatureClick(event) {
|
||||
}
|
||||
var identity = this.mailAccount["identities"][0];
|
||||
var area = $("signature");
|
||||
area.value = identity["signature"];
|
||||
if (typeof(identity["signature"]) != "undefined")
|
||||
area.value = identity["signature"];
|
||||
else
|
||||
area.value = "";
|
||||
dialog.show();
|
||||
$("bgDialogDiv").show();
|
||||
if (!CKEDITOR.instances["signature"])
|
||||
@@ -673,7 +676,9 @@ function displayAccountSignature(mailAccount) {
|
||||
var identity = (mailAccount["identities"]
|
||||
? mailAccount["identities"][0]
|
||||
: {} );
|
||||
var value = identity["signature"].stripTags().unescapeHTML().replace(/^[ \n\r]*/, "");
|
||||
var value = identity["signature"];
|
||||
if (value && value.length > 0)
|
||||
value = value.stripTags().unescapeHTML().replace(/^[ \n\r]*/, "");
|
||||
if (value && value.length > 0) {
|
||||
if (value.length < 30) {
|
||||
actSignatureValue = value;
|
||||
|
||||
Reference in New Issue
Block a user