From c4c6dd6f125f1efd101624d35b0a9c4db06b2e77 Mon Sep 17 00:00:00 2001 From: Stefan Horst <noreply@example.com> Date: Sun, 12 Jan 2020 13:40:23 +0000 Subject: [PATCH] [BUGFIX] Update Autocomplete widget template ajax url MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the template to not generate a url containing & which results in not working ajax call. Releases: master, 9.5 Resolves: #90091 Change-Id: If164f1a4c5d4aa6bf7cb830b27ed5ac5d5d5d525 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62849 Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by: Frank Nägler <frank.naegler@typo3.org> Tested-by: TYPO3com <noreply@typo3.com> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by: Frank Nägler <frank.naegler@typo3.org> --- .../Templates/ViewHelpers/Widget/Autocomplete/Index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/fluid/Resources/Private/Templates/ViewHelpers/Widget/Autocomplete/Index.html b/typo3/sysext/fluid/Resources/Private/Templates/ViewHelpers/Widget/Autocomplete/Index.html index 4c9810249896..380e1a60178d 100644 --- a/typo3/sysext/fluid/Resources/Private/Templates/ViewHelpers/Widget/Autocomplete/Index.html +++ b/typo3/sysext/fluid/Resources/Private/Templates/ViewHelpers/Widget/Autocomplete/Index.html @@ -1,7 +1,7 @@ <script type="text/javascript"> jQuery(function() { jQuery("#{id}").autocomplete(<f:format.raw value="{" /> - source: "{f:widget.uri(action:'autocomplete', ajax: 1)}", + source: <f:format.raw>"{f:widget.uri(action:'autocomplete', ajax: 1)}"</f:format.raw>, minLength: 2 }); }); -- GitLab