Destroy editor dialog on close
authorAlexander Ebert <ebert@woltlab.com>
Tue, 6 Jun 2017 21:54:41 +0000 (23:54 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 6 Jun 2017 21:54:47 +0000 (23:54 +0200)
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Redactor/Code.js
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Redactor/Quote.js
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Redactor/Spoiler.js

index 0624ef977053d7989a62de571bbbea95c8477a89..f0878bdc6cea859d283c2d915aac16c43afbfd36 100644 (file)
@@ -182,6 +182,8 @@ define(['EventHandler', 'EventKey', 'Language', 'StringUtil', 'Dom/Util', 'Ui/Di
                                options: {
                                        onClose: (function () {
                                                this._editor.selection.restore();
+                                               
+                                               UiDialog.destroy(this);
                                        }).bind(this),
                                        
                                        onSetup: (function() {
index 2f0a7acd3d54b9b1cfb578a48585630adcb08d85..51525904a1f38fbfabeb21f6933ad4131074d09c 100644 (file)
@@ -248,6 +248,8 @@ define(['Core', 'EventHandler', 'EventKey', 'Language', 'StringUtil', 'Dom/Util'
                                options: {
                                        onClose: (function () {
                                                this._editor.selection.restore();
+                                               
+                                               UiDialog.destroy(this);
                                        }).bind(this),
                                        
                                        onSetup: (function() {
index a802ebecd391627032f6a1e36b16c68cd8f7e2d2..56059b4f99d74d9925c7680cd900e81920c14065 100644 (file)
@@ -160,6 +160,8 @@ define(['EventHandler', 'EventKey', 'Language', 'StringUtil', 'Dom/Util', 'Ui/Di
                                options: {
                                        onClose: (function () {
                                                this._editor.selection.restore();
+                                               
+                                               UiDialog.destroy(this);
                                        }).bind(this),
                                        
                                        onSetup: (function() {