mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Retrofit from trunk
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 [from revision 5067] SVN:2.4[5068]
This commit is contained in:
@@ -1377,6 +1377,7 @@ function CheckChoice(sChoiceId)
|
||||
else
|
||||
{
|
||||
$(this).attr('disabled', 'disabled');
|
||||
$(this).removeAttr('checked');
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -1936,7 +1937,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