Monotone-Parent: e0a110c700ace37c521b69b4fc25af7050fc415b

Monotone-Revision: f36334509c4664853d23a261e33fef626136abcf

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-04-29T20:58:35
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2008-04-29 20:58:35 +00:00
1 parent 6165dff19e
commit 466ec44822
5 files changed
+43 -25

No files matched your search

+2 -2
View File
@@ -261,11 +261,11 @@ function onTextFocus() {
function onTextFirstFocus() {
var content = this.getValue();
if (content.lastIndexOf("--") == 0) {
this.insertBefore(document.createTextNode("\r\n"),
this.insertBefore(document.createTextNode("\r"),
this.lastChild);
}
if (signatureLength > 0) {
var length = this.getValue().length - signatureLength - 1;
var length = this.getValue().length - signatureLength - 2;
this.setCaretTo(length);
}
Event.stopObserving(this, "focus", onTextFirstFocus);