From ae8ac386311cec0401f657eec0b1c545e066ab5a Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 13 Dec 2014 15:34:18 +0100 Subject: [PATCH] Selection may be misplaced if using focus.setEnd in quick reply --- wcfsetup/install/files/js/WCF.Message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.Message.js b/wcfsetup/install/files/js/WCF.Message.js index 19e241450f..609db9776a 100644 --- a/wcfsetup/install/files/js/WCF.Message.js +++ b/wcfsetup/install/files/js/WCF.Message.js @@ -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(); -- 2.20.1