mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 21:01:30 +02:00
* Mail: fix cursor jumping at the end of textarea in compose while switching from subject
This commit is contained in:
parent
bbea403298
commit
6db82fbbf2
@ -236,6 +236,10 @@ app.classes.mail = AppJS.extend(
|
|||||||
this.mailvelopeAvailable(this.mailvelopeCompose);
|
this.mailvelopeAvailable(this.mailvelopeCompose);
|
||||||
}
|
}
|
||||||
var that = this;
|
var that = this;
|
||||||
|
var plainText = this.et2.getWidgetById('mail_plaintext');
|
||||||
|
// set cursor to the begining of the textarea only for first focus
|
||||||
|
if (plainText) plainText.getDOMNode().setSelectionRange(0,0);
|
||||||
|
|
||||||
var textAreaWidget = this.et2.getWidgetById('mail_htmltext');
|
var textAreaWidget = this.et2.getWidgetById('mail_htmltext');
|
||||||
this.mail_isMainWindow = false;
|
this.mail_isMainWindow = false;
|
||||||
this.compose_fieldExpander_init();
|
this.compose_fieldExpander_init();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user