Disabled textarea scrolling when signature is on top.

Monotone-Parent: a38e7db24accc932b88afb2f7b8fb6717617e957
Monotone-Revision: 08b02518bde16e0b0865b5640688f3386eefa918

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2008-09-29T22:01:44
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
C Robert 2008-09-29 22:01:44 +00:00
parent 44c1795d12
commit db936bf021
1 changed files with 3 additions and 1 deletions

View File

@ -539,7 +539,9 @@ function initMailEditor() {
var sigLimit = textContent.lastIndexOf("--");
if (sigLimit > -1)
signatureLength = (textContent.length - sigLimit);
textarea.scrollTop = textarea.scrollHeight;
if ( userDefaults["SignaturePlacement"] != "above" ) {
textarea.scrollTop = textarea.scrollHeight;
}
textarea.observe("focus", onTextFirstFocus);
textarea.observe("focus", onTextFocus);
// textarea.observe("contextmenu", onTextContextMenu);