mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-20 22:05:57 +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:
@@ -9,6 +9,10 @@
|
||||
* SoObjects/SOGo/LDAPSource.m (:_qualifierForFilter): avoid
|
||||
duplicated filters on the CN attribute.
|
||||
|
||||
* UI/WebServerResources/UIxPreferences.js
|
||||
(displayAccountSignature): strips the tags and unescape the HTML
|
||||
to improve readability.
|
||||
|
||||
2011-03-20 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreCalendarMessage.m
|
||||
|
||||
@@ -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