Monotone-Parent: e0221240c98c353cd78f1dea976887fc91420de9

Monotone-Revision: 0a7b2afa74ab092109cffa4ccc0c67371a5e313a

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-12-19T17:23:31
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-12-19 17:23:31 +00:00
parent 109d1b65f6
commit 1d5aec5e3a
6 changed files with 51 additions and 20 deletions
+3 -3
View File
@@ -312,7 +312,7 @@ function onTextIEUpdateCursorPos(event) {
function onTextFirstFocus() {
var content = this.getValue();
var replyPlacement = userDefaults["ReplyPlacement"];
var replyPlacement = UserDefaults["ReplyPlacement"];
if (replyPlacement == "above") {
this.insertBefore(document.createTextNode("\r\r"), this.lastChild);
@@ -547,7 +547,7 @@ function initMailEditor() {
if (sigLimit > -1)
MailEditor.signatureLength = (textContent.length - sigLimit);
}
if (userDefaults["ReplyPlacement"] != "above") {
if (UserDefaults["ReplyPlacement"] != "above") {
textarea.scrollTop = textarea.scrollHeight;
}
textarea.observe("focus", onTextFirstFocus);
@@ -655,7 +655,7 @@ function lineBreakCount(str){
function hasSignature() {
try {
return(userDefaults.MailAccounts[0].identities[0].signature.length > 0);
return(UserDefaults.MailAccounts[0].identities[0].signature.length > 0);
} catch(e) {
return false;
}