From: Matthias Schmidt Date: Sat, 8 Feb 2020 14:35:03 +0000 (+0100) Subject: Remove dialog HTML element when destroying dialog X-Git-Tag: 5.2.3~44^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=07dc359b78133f4bf7416976fc65306a4162c0dd;p=GitHub%2FWoltLab%2FWCF.git Remove dialog HTML element when destroying dialog Fix #3148 --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dialog.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dialog.js index 038c1931bf..3e8f234cad 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dialog.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dialog.js @@ -893,6 +893,7 @@ define( this.close(id); } + elRemove(_dialogs.get(id).dialog); _dialogs.delete(id); _dialogObjects.delete(callbackObject); }