From: Bernd Bleßmann Date: Wed, 13 Jan 2021 17:47:44 +0000 (+0100) Subject: Projekt-Picker-Lupe: erste Ergebnisse direkt anzeigen X-Git-Tag: kivitendo-mebil_0.1-0~9^2~521 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3873385f84a2af41d00e1154bfa4a8a47c761aeb;p=kivitendo-erp.git Projekt-Picker-Lupe: erste Ergebnisse direkt anzeigen Spart einen zweiten Ajax-Aufruf --- diff --git a/js/autocomplete_project.js b/js/autocomplete_project.js index e781d96d6..7255ffd8a 100644 --- a/js/autocomplete_project.js +++ b/js/autocomplete_project.js @@ -65,7 +65,6 @@ namespace('kivi', function(k){ $('#project_picker_filter').val('').focus(); update_results(); }); - update_results(); } function ajax_data(term) { diff --git a/templates/webpages/project/project_picker_search.html b/templates/webpages/project/project_picker_search.html index 476a5df0d..18b063212 100644 --- a/templates/webpages/project/project_picker_search.html +++ b/templates/webpages/project/project_picker_search.html @@ -12,4 +12,5 @@
+ [% PROCESS 'project/_project_picker_result.html' %]