From: Alexander Ebert Date: Mon, 20 Jul 2020 21:04:34 +0000 (+0200) Subject: Prevent the hashtag from being added to the url X-Git-Tag: 5.3.0_Alpha_1~123^2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c93ced9f4740d1f522b7f35c0c0c2b599ef0e0c3;p=GitHub%2FWoltLab%2FWCF.git Prevent the hashtag from being added to the url --- diff --git a/wcfsetup/install/files/acp/js/WCF.ACP.js b/wcfsetup/install/files/acp/js/WCF.ACP.js index 7a91253f6e..b64ba4fdf1 100644 --- a/wcfsetup/install/files/acp/js/WCF.ACP.js +++ b/wcfsetup/install/files/acp/js/WCF.ACP.js @@ -1003,8 +1003,12 @@ WCF.ACP.Package.Update.Search = Class.extend({ /** * Handles clicks on the search button. + * + * @param {Event} event */ - _click: function() { + _click: function(event) { + event.preventDefault(); + if (this._dialog === null) { new WCF.Action.Proxy({ autoSend: true,