Prod Testausgaben Globale Suche

This commit is contained in:
Holger Trampe 2019-12-16 16:23:19 +01:00
parent 46283ee2e2
commit d1f4b868c6
49 changed files with 3 additions and 5 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -198,9 +198,6 @@
<form class="d-none d-sm-inline-block form-inline mr-auto ml-md-3 my-2 my-md-0 mw-100 navbar-search"> <form class="d-none d-sm-inline-block form-inline mr-auto ml-md-3 my-2 my-md-0 mw-100 navbar-search">
<div class="input-group"> <div class="input-group">
<input list="searchres" placeholder="Suche..." id="search_string" onkeyup="javascript:startSearch(this.value)" class="form-control bg-light border-0 small" > <input list="searchres" placeholder="Suche..." id="search_string" onkeyup="javascript:startSearch(this.value)" class="form-control bg-light border-0 small" >
<datalist id="searchres" >
</datalist>
<!-- <!--
<input type="text" onkeyup="javascript:startSearch(this.value)" class="form-control bg-light border-0 small" placeholder="Suche..." aria-label="Suche" aria-describedby="basic-addon2" id="searchfield"> <input type="text" onkeyup="javascript:startSearch(this.value)" class="form-control bg-light border-0 small" placeholder="Suche..." aria-label="Suche" aria-describedby="basic-addon2" id="searchfield">
--> -->
@ -333,7 +330,7 @@ function clearSF(){
function startSearch(searchstring){ function startSearch(searchstring){
console.log(searchstring);
if(searchstring.length > 2){ if(searchstring.length > 2){
$.ajax( $.ajax(
{ {
@ -344,6 +341,7 @@ function clearSF(){
}, },
success: function( data ) success: function( data )
{ {
console.log(data);
$("#maincontent").hide(); $("#maincontent").hide();
$("#searchcontent").show(); $("#searchcontent").show();
$("#searchcontent").html(data); $("#searchcontent").html(data);