Selection may be misplaced if using focus.setEnd in quick reply
authorAlexander Ebert <ebert@woltlab.com>
Sat, 13 Dec 2014 14:34:18 +0000 (15:34 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 13 Dec 2014 14:34:18 +0000 (15:34 +0100)
wcfsetup/install/files/js/WCF.Message.js

index 19e241450fb38df90461b51026a49ca77349291b..609db9776ab8823283f82b6c463b98bb8e9dbaab 100644 (file)
@@ -895,7 +895,7 @@ WCF.Message.QuickReply = Class.extend({
                }
                
                if ($.browser.redactor) {
-                       this._messageField.redactor('focus.setEnd');
+                       this._messageField.redactor('wutil.selectionEndOfEditor');
                }
                else {
                        this._messageField.focus();