[BUGFIX] Abort slug proposal request on rapid typing 08/59808/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Tue, 26 Feb 2019 15:07:05 +0000 (16:07 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 1 Mar 2019 13:33:15 +0000 (14:33 +0100)
commit7d9055d057b383bc7ca057a9d4d42c5c6a13d5a2
tree9ff6fa8168691a39ebe7677d04823250e7ac5a59
parented7ea00e3562302b041a6ba7ff3edfc8c3f97e18
[BUGFIX] Abort slug proposal request on rapid typing

If an editor enters a manual slug into the slug field, an AJAX request
per keystroke is sent. The patch now aborts requests in case the input
changes while the previous request has not finished yet.

Resolves: #87796
Releases: master, 9.5
Change-Id: Ib61ea0197bcf7f2a85d27c89e08e8fa448fea224
Reviewed-on: https://review.typo3.org/c/59808
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Jürgen Venne <venne@schaffrath-digital.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Jürgen Venne <venne@schaffrath-digital.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Resources/Private/TypeScript/FormEngine/Element/SlugElement.ts
typo3/sysext/backend/Resources/Public/JavaScript/FormEngine/Element/SlugElement.js