Actions
Bug #78457
closedSuggest-wizard does not submit after first empty result
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-10-27
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
If you search in the suggest-wizard (i.e. to select a page for shortcuts) it stops searching once the result was empty.
Example:- You search for "12" and the result is empty (because there is no page with this title and also none with this uid)
- After that you type "3" and you expect to search now for "123" (this page uid exists) but no search is invoked now.
Reason is the option "preventBadQueries" in jquery.autocomplete which is by default activated.
Solution ideas:- switch off that option for all suggest-inputs in "typo3/sysext/backend/Resources/Public/JavaScript/FormEngineSuggest.js"
- or make it configurable
As a proof, I switched it off in my js-console with
TYPO3.jQuery('.t3-form-suggest').autocomplete().setOptions({preventBadQueries:false});
and this solves the problem.
Actions