[BUGFIX] Fixes the suggest wizard item click by only returning one value 23/49223/4
authorWiard van Rij <wiard@outlook.com>
Wed, 27 Jul 2016 07:09:30 +0000 (09:09 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Mon, 5 Sep 2016 07:23:16 +0000 (09:23 +0200)
commit9c33458ebdc7bcccffacd2c904c02dea0526dc6e
tree95ae942000c12dfa53daacf862f485ae191f9fb7
parent046eee825097f65088c932c5bc5fa3198ac81b80
[BUGFIX] Fixes the suggest wizard item click by only returning one value

The bug only occurs on cases where the multiple true is defined,
and the user clicks on the element found by the suggest wizard.

This is caused because of a duplicate item insert. The onclick should
only prevent the default action, and not insert/return the item into the
list.

Resolves: #76923
Releases: master, 7.6
Change-Id: Iea53ef266e8d55331f5cd8367a5146582b7fe684
Reviewed-on: https://review.typo3.org/49223
Reviewed-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Benjamin Serfhos <serfhos@gmail.com>
Tested-by: Benjamin Serfhos <serfhos@gmail.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/backend/Resources/Public/JavaScript/FormEngineSuggest.js