From: Alexander Ebert Date: Sun, 31 Jul 2016 19:18:20 +0000 (+0200) Subject: Fixed selection lost when opening modals X-Git-Tag: 3.0.0_Beta_1~830 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=063835e1a5b620faf360ebe30e0dd4ff3f02f7bb;p=GitHub%2FWoltLab%2FWCF.git Fixed selection lost when opening modals --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabModal.js b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabModal.js index 60d7322b45..c41f06c1ec 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabModal.js +++ b/wcfsetup/install/files/js/3rdParty/redactor2/plugins/WoltLabModal.js @@ -23,6 +23,8 @@ $.Redactor.prototype.WoltLabModal = function() { }, show: function() { + this.selection.save(); + _uiDialog.open(this); _uiDialog.setTitle(this, _title); }