[BUGFIX] Continue searching after empty result in suggest wizard 43/50543/2
authorWouter Wolters <typo3@wouterwolters.nl>
Mon, 7 Nov 2016 22:18:32 +0000 (23:18 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Tue, 8 Nov 2016 12:09:00 +0000 (13:09 +0100)
Apply the same fix as was done for the LiveSearch.

Resolves: #78457
Related: #77566
Releases: master,7.6
Change-Id: I861e6267b4804f8009d138e22520f1b95ba421b6
Reviewed-on: https://review.typo3.org/50543
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/backend/Resources/Public/JavaScript/FormEngineSuggest.js

index 0a09352..b9fdbe1 100644 (file)
@@ -64,6 +64,7 @@ define(['jquery', 'jquery/autocomplete'], function ($) {
                        showNoSuggestionNotice: true,
                        noSuggestionNotice: '<div class="autocomplete-info">No results</div>',
                        minLength: minimumCharacters,
+                       preventBadQueries: false,
                        // put the AJAX results in the right format
                        transformResult: function(response) {
                                return {