mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-23 15:12:44 +00:00
See ChangeLog
Monotone-Parent: 9b1266835546cad935416117e959f5990a2363db Monotone-Revision: f46a82535044ebae377ca25229db810ded914ae0 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-03-21T20:09:56 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -670,7 +670,9 @@ function displayAccountSignature(mailAccount) {
|
||||
var identity = (mailAccount["identities"]
|
||||
? mailAccount["identities"][0]
|
||||
: {} );
|
||||
var value = identity["signature"];
|
||||
var value = identity["signature"].replace(/^[ \n\r]*$/, "");
|
||||
if (CKEDITOR.instances["signature"])
|
||||
value = value.stripTags().unescapeHTML();
|
||||
if (value && value.length > 0) {
|
||||
if (value.length < 30) {
|
||||
actSignatureValue = value;
|
||||
@@ -685,7 +687,7 @@ function displayAccountSignature(mailAccount) {
|
||||
while (actSignature.firstChild) {
|
||||
actSignature.removeChild(actSignature.firstChild);
|
||||
}
|
||||
actSignature.appendChild(document.createTextNode(actSignatureValue));
|
||||
actSignature.update(actSignatureValue);
|
||||
}
|
||||
|
||||
function createMailAccount() {
|
||||
|
||||
Reference in New Issue
Block a user