From ac3d4137396af6a4026169a7fba5e20a805db9c4 Mon Sep 17 00:00:00 2001 From: "holger.trampe" Date: Mon, 9 Nov 2020 21:09:19 +0100 Subject: [PATCH] Agenturweite Suche Iconaenderung --- users/templates/users/base.html | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/users/templates/users/base.html b/users/templates/users/base.html index 4d51eef..1d27881 100644 --- a/users/templates/users/base.html +++ b/users/templates/users/base.html @@ -378,8 +378,11 @@ -->
-
@@ -621,10 +624,16 @@ function clearSF(){ $("#searchcontent").hide(); $("#maincontent").show(); $("#search_string").val(""); + $("#agencysearch_icon").html(''); + $("#agencysearch_button").prop("disabled", true); } function startSearch(searchstring){ if(searchstring.length > 2){ + + $("#agencysearch_button").prop("disabled", false); + $("#agencysearch_icon").html(''); + $.ajax( { type: "GET", @@ -640,6 +649,8 @@ function clearSF(){ } }); } else { + $("#agencysearch_icon").html(''); + $("#agencysearch_button").prop("disabled", true); $("#searchcontent").empty(); $("#searchcontent").hide(); $("#maincontent").show();