From 76f236db1e1cdf9954e1dfa10d49b3bb9b4ef802 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 29 May 2023 14:47:58 +0200 Subject: [PATCH] Hide errors for failed searches --- ts/WoltLabSuite/Core/Ui/Search/Input.ts | 1 + wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Search/Input.js | 1 + 2 files changed, 2 insertions(+) diff --git a/ts/WoltLabSuite/Core/Ui/Search/Input.ts b/ts/WoltLabSuite/Core/Ui/Search/Input.ts index ea16ceb5df..3969a78af4 100644 --- a/ts/WoltLabSuite/Core/Ui/Search/Input.ts +++ b/ts/WoltLabSuite/Core/Ui/Search/Input.ts @@ -363,6 +363,7 @@ class UiSearchInput { return { data: this.ajaxPayload, silent: this.suppressErrors, + ignoreError: this.suppressErrors, }; } } diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Search/Input.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Search/Input.js index 5ee13784b6..4ef6f39f6c 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Search/Input.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Search/Input.js @@ -310,6 +310,7 @@ define(["require", "exports", "tslib", "../../Ajax", "../../Core", "../../Dom/Ut return { data: this.ajaxPayload, silent: this.suppressErrors, + ignoreError: this.suppressErrors, }; } } -- 2.20.1