From 3d6c7357a7bb21884bfc73f6d2d17648da3376c8 Mon Sep 17 00:00:00 2001 From: Andreas Fernandez <a.fernandez@scripting-base.de> Date: Fri, 30 Sep 2022 14:53:57 +0200 Subject: [PATCH] [BUGFIX] Drop obsolete devbridge-autocomplete patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With #98455, the package devbridge-autocomplete was removed, but a patch file was forgotten, leading to a warning during installation of npm packages. This patch removes the left over patch file. Resolves: #98482 Related: #98455 Releases: main Change-Id: I3c18424e667e9f441572ffe543c8854d55570972 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75923 Tested-by: Benni Mack <benni@typo3.org> Tested-by: Stefan Bürk <stefan@buerk.tech> Tested-by: core-ci <typo3@b13.com> Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by: Benni Mack <benni@typo3.org> Reviewed-by: Stefan Bürk <stefan@buerk.tech> Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de> --- .../devbridge-autocomplete+1.3.0.patch | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 Build/patches/devbridge-autocomplete+1.3.0.patch diff --git a/Build/patches/devbridge-autocomplete+1.3.0.patch b/Build/patches/devbridge-autocomplete+1.3.0.patch deleted file mode 100644 index dcc30b9b9ce0..000000000000 --- a/Build/patches/devbridge-autocomplete+1.3.0.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/node_modules/devbridge-autocomplete/dist/jquery.autocomplete.js b/node_modules/devbridge-autocomplete/dist/jquery.autocomplete.js -index 74121fa..50d1494 100644 ---- a/node_modules/devbridge-autocomplete/dist/jquery.autocomplete.js -+++ b/node_modules/devbridge-autocomplete/dist/jquery.autocomplete.js -@@ -667,7 +667,8 @@ - beforeRender = options.beforeRender, - html = '', - category, -- formatGroup = function (suggestion, index) { -+ // modified for TYPO3, added index parameter -+ formatGroup = function (suggestion, value, index) { - var currentCategory = suggestion.data[groupBy]; - - if (category === currentCategory){ -@@ -676,7 +677,8 @@ - - category = currentCategory; - -- return options.formatGroup(suggestion, category); -+ // modified for TYPO3, added index parameter -+ return options.formatGroup(suggestion, category, index); - }; - - if (options.triggerSelectOnValidInput && that.isExactMatch(value)) { -- GitLab