mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01: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);
|
||||
}
|
||||
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');
|
||||
this.mail_isMainWindow = false;
|
||||
this.compose_fieldExpander_init();
|
||||
|
Loading…
Reference in New Issue
Block a user