forked from extern/egroupware
Mail - Fix initial cursor position when replying to text emails
This commit is contained in:
parent
a7fcb77d1b
commit
eb20e4da2a
@ -299,7 +299,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
// focus
|
// focus
|
||||||
jQuery(plainText.node).focus();
|
jQuery(plainText.node).focus();
|
||||||
// get the cursor to the top of the textarea
|
// get the cursor to the top of the textarea
|
||||||
if (typeof plainText.node.setSelectionRange !='undefined' && !plainText.node.is(":hidden")) plainText.node.setSelectionRange(0,0);
|
if (typeof plainText.node.setSelectionRange !='undefined' && !jQuery(plainText.node).is(":hidden")) plainText.node.setSelectionRange(0,0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user