From: Alexander Ebert Date: Sat, 26 Nov 2016 11:51:46 +0000 (+0100) Subject: Avoid weird element focus on installation start X-Git-Tag: 3.0.0_RC_1~135 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=639e46d6535d240169827d15275e6f719e92bff4;p=GitHub%2FWoltLab%2FWCF.git Avoid weird element focus on installation start --- diff --git a/wcfsetup/install/files/acp/js/WCF.ACP.js b/wcfsetup/install/files/acp/js/WCF.ACP.js index 91b7c1f712..22b6317de0 100644 --- a/wcfsetup/install/files/acp/js/WCF.ACP.js +++ b/wcfsetup/install/files/acp/js/WCF.ACP.js @@ -303,6 +303,10 @@ WCF.ACP.Package.Installation = Class.extend({ * Prepares installation dialog. */ prepareInstallation: function() { + if (document.activeElement) { + document.activeElement.blur(); + } + this._proxy.setOption('data', this._getParameters()); this._proxy.sendRequest(); },