Fixes overlapping dialog container
authorJoshua Rüsweg <ruesweg@woltlab.com>
Sun, 19 May 2019 08:48:28 +0000 (10:48 +0200)
committerJoshua Rüsweg <ruesweg@woltlab.com>
Sun, 19 May 2019 08:48:43 +0000 (10:48 +0200)
See #2716

wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Ui/User/Content/Remove/Handler.js

index f676c3186529c8283889fc15e2969ae73b8b2670..38ec3246f30565091e1971bd5064d4eff603f018 100644 (file)
@@ -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) {