Skip to content
Snippets Groups Projects
Commit 76dbf462 authored by Wouter Wolters's avatar Wouter Wolters
Browse files

[FOLLOWUP][TASK] Automatically select the custom preset when values are changed

When input field is changed the checkbox is checked directly, not
after it loses the focus.

Resolves: #76365
Releases: master
Change-Id: I8673612bcd8b21d1692188c73d8501f7937c047f
Reviewed-on: https://review.typo3.org/48410


Reviewed-by: default avatarMarkus Klein <markus.klein@typo3.org>
Reviewed-by: default avatarFrank Naegler <frank.naegler@typo3.org>
Reviewed-by: default avatarNicole Cordes <typo3@cordes.co>
Tested-by: default avatarNicole Cordes <typo3@cordes.co>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
parent d90a7849
No related branches found
No related tags found
No related merge requests found
......@@ -677,7 +677,7 @@ $(function() {
});
// automatically select the custom preset if a value in one of its input fields is changed
$('.t3js-custom-preset').on('change', function () {
$('.t3js-custom-preset').on('input', function() {
$('#' + $(this).data('radio')).prop('checked', true);
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment