From 76dbf4629cae85754ff926f74a16e0b3f074e9df Mon Sep 17 00:00:00 2001
From: Wouter Wolters <typo3@wouterwolters.nl>
Date: Mon, 30 May 2016 22:14:35 +0200
Subject: [PATCH] [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: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
---
 typo3/sysext/install/Resources/Public/JavaScript/Install.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/install/Resources/Public/JavaScript/Install.js b/typo3/sysext/install/Resources/Public/JavaScript/Install.js
index aad6583dbcfb..aec0f6191f39 100644
--- a/typo3/sysext/install/Resources/Public/JavaScript/Install.js
+++ b/typo3/sysext/install/Resources/Public/JavaScript/Install.js
@@ -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);
 	});
 });
-- 
GitLab