Commit 9076ee46 authored by Georg Ringer's avatar Georg Ringer Committed by Philipp Gampe
Browse files

[TASK] Clear search field in Install Tool with ESC

As the search in the Install Tool > All configuration can be
triggered by using CTRL + f, it should also listen on the
ESC key to clear the search again.

Resolves: #79567
Releases: master, 7.6
Change-Id: I9a304bb455153429f99354a4ef684326b1baa612
Reviewed-on: https://review.typo3.org/51484

Reviewed-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: Marco Huber's avatarMarco Huber <mail@marco-huber.de>
Tested-by: Marco Huber's avatarMarco Huber <mail@marco-huber.de>
Reviewed-by: Philipp Gampe's avatarPhilipp Gampe <philipp.gampe@typo3.org>
Tested-by: Philipp Gampe's avatarPhilipp Gampe <philipp.gampe@typo3.org>
parent 84cffd31
......@@ -732,6 +732,9 @@ $(function() {
$configSearch.focus();
break;
}
} else if (event.keyCode === 27) {
event.preventDefault();
$configSearch.val('').focus();
}
});
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment