From fdaec2e031ddca304a9c50dadeba3d3956a5d45d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Sun, 19 May 2019 10:48:28 +0200 Subject: [PATCH] Fixes overlapping dialog container See #2716 --- .../Core/Acp/Ui/User/Content/Remove/Handler.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Ui/User/Content/Remove/Handler.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Ui/User/Content/Remove/Handler.js index f676c31865..38ec3246f3 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Ui/User/Content/Remove/Handler.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Ui/User/Content/Remove/Handler.js @@ -70,9 +70,11 @@ define(['Ajax', 'Language', 'Ui/Dialog', 'WoltLabSuite/Core/Acp/Ui/Worker'], fun UiDialog.close('userRemoveContentHandler-' + this._userId); - if (objectTypes.length > 0) { - this._executeWorker(objectTypes); - } + window.setTimeout(function () { + if (objectTypes.length > 0) { + this._executeWorker(objectTypes); + } + }.bind(this), 200); }, _ajaxSuccess: function (data) { -- 2.20.1