From 07dc359b78133f4bf7416976fc65306a4162c0dd Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 8 Feb 2020 15:35:03 +0100 Subject: [PATCH] Remove dialog HTML element when destroying dialog Fix #3148 --- wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dialog.js | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.20.1