mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°7559 - Fix radio buttons in template fields
This commit is contained in:
@@ -97,9 +97,15 @@ $(function()
|
||||
}
|
||||
else if( $(oElem).is(':radio'))
|
||||
{
|
||||
if($(oElem).is(':checked'))
|
||||
let nameRadioButton= $(oElem).prop('name');
|
||||
let radioCheckProp = $('[name='+nameRadioButton+']:checked');
|
||||
if(radioCheckProp.length === 1)
|
||||
{
|
||||
value =$(oElem).val();
|
||||
value = radioCheckProp.val();
|
||||
}
|
||||
else
|
||||
{
|
||||
value = "";
|
||||
}
|
||||
}
|
||||
else if($(oElem).is(':checkbox'))
|
||||
|
||||
Reference in New Issue
Block a user