From c93ced9f4740d1f522b7f35c0c0c2b599ef0e0c3 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 20 Jul 2020 23:04:34 +0200 Subject: [PATCH] Prevent the hashtag from being added to the url --- wcfsetup/install/files/acp/js/WCF.ACP.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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, -- 2.20.1