Prevent the hashtag from being added to the url
authorAlexander Ebert <ebert@woltlab.com>
Mon, 20 Jul 2020 21:04:34 +0000 (23:04 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 20 Jul 2020 21:04:34 +0000 (23:04 +0200)
wcfsetup/install/files/acp/js/WCF.ACP.js

index 7a91253f6ea3a234e6a1a9ea7465c9ca5f1207b9..b64ba4fdf1f2edca658273a0c8b98b5bed57afbb 100644 (file)
@@ -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,