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
This commit is contained in:
parent
44c1795d12
commit
db936bf021
|
@ -539,7 +539,9 @@ function initMailEditor() {
|
||||||
var sigLimit = textContent.lastIndexOf("--");
|
var sigLimit = textContent.lastIndexOf("--");
|
||||||
if (sigLimit > -1)
|
if (sigLimit > -1)
|
||||||
signatureLength = (textContent.length - sigLimit);
|
signatureLength = (textContent.length - sigLimit);
|
||||||
|
if ( userDefaults["SignaturePlacement"] != "above" ) {
|
||||||
textarea.scrollTop = textarea.scrollHeight;
|
textarea.scrollTop = textarea.scrollHeight;
|
||||||
|
}
|
||||||
textarea.observe("focus", onTextFirstFocus);
|
textarea.observe("focus", onTextFirstFocus);
|
||||||
textarea.observe("focus", onTextFocus);
|
textarea.observe("focus", onTextFocus);
|
||||||
// textarea.observe("contextmenu", onTextContextMenu);
|
// textarea.observe("contextmenu", onTextContextMenu);
|
||||||
|
|
Loading…
Reference in a new issue