mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 11:55:24 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user