From: Joshua Rüsweg Date: Sun, 19 May 2019 08:48:28 +0000 (+0200) Subject: Fixes overlapping dialog container X-Git-Tag: 5.2.0_Alpha_1~84 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fdaec2e031ddca304a9c50dadeba3d3956a5d45d;p=GitHub%2FWoltLab%2FWCF.git Fixes overlapping dialog container See #2716 --- 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) {