From d4dd300e28fdfe15258782f48275df7fecf05084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20Espi=C3=A9?= Date: Mon, 23 Oct 2017 11:37:13 +0000 Subject: [PATCH] =?UTF-8?q?N=C2=B01131=20-=20Setup:=20Can't=20add=20option?= =?UTF-8?q?s=20to=20ITIL=20Ticketing=20in=20update=20mode=20*=20Fix=20the?= =?UTF-8?q?=20alternative=20selection=20when=20updating=20the=20setup=20*?= =?UTF-8?q?=20Uncheck=20options=20when=20the=20alternatives=20are=20desele?= =?UTF-8?q?cted?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SVN:trunk[5067] --- setup/wizardsteps.class.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/wizardsteps.class.inc.php b/setup/wizardsteps.class.inc.php index 2d58a94b8..cd78cc867 100644 --- a/setup/wizardsteps.class.inc.php +++ b/setup/wizardsteps.class.inc.php @@ -1383,6 +1383,7 @@ function CheckChoice(sChoiceId) else { $(this).attr('disabled', 'disabled'); + $(this).removeAttr('checked'); } }); }); @@ -1942,7 +1943,7 @@ EOF $sAttributes = ' checked '; } $sHidden = ''; - if ($bMandatory) + if ($bMandatory && $bDisabled) { $sAttributes = ' checked '; $sHidden = '';