mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 08:38:45 +02:00
N°7559 - Fix radio buttons in template fields
This commit is contained in:
@@ -95,7 +95,14 @@ $(function()
|
||||
value = $(oElem).val();
|
||||
}
|
||||
}
|
||||
else if($(oElem).is(':checkbox') || $(oElem).is(':radio'))
|
||||
else if( $(oElem).is(':radio'))
|
||||
{
|
||||
if($(oElem).is(':checked'))
|
||||
{
|
||||
value =$(oElem).val();
|
||||
}
|
||||
}
|
||||
else if($(oElem).is(':checkbox'))
|
||||
{
|
||||
if(value === null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user