Remove dialog HTML element when destroying dialog
authorMatthias Schmidt <gravatronics@live.com>
Sat, 8 Feb 2020 14:35:03 +0000 (15:35 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 8 Feb 2020 14:35:03 +0000 (15:35 +0100)
Fix #3148

wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Dialog.js

index 038c1931bffc4a12234b7d9f48ddb744a899cffb..3e8f234cad83b7b98fa10d83fc747bd6fa914bac 100644 (file)
@@ -893,6 +893,7 @@ define(
                                        this.close(id);
                                }
                                
+                               elRemove(_dialogs.get(id).dialog);
                                _dialogs.delete(id);
                                _dialogObjects.delete(callbackObject);
                        }