mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°1131 - Setup: Can't add options to ITIL Ticketing in update mode
* Fix the alternative selection when updating the setup * Uncheck options when the alternatives are deselected SVN:trunk[5067]
This commit is contained in:
@@ -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 = '<input type="hidden" name="choice['.$sChoiceName.']" value="'.$sChoiceId.'"/>';
|
||||
|
||||
Reference in New Issue
Block a user