Properly read radio button values inside a form.

SVN:trunk[3849]
This commit is contained in:
Denis Flaven
2015-12-14 13:02:08 +00:00
parent ab38ce63a5
commit 65a7a8ee56

View File

@@ -634,10 +634,18 @@ function ReadFormParams(sFormId)
{
oMap[sName] = ($(this).attr('checked') == 'checked');
}
else if (this.type == 'radio')
{
if ($(this).prop('checked'))
{
oMap[sName] = $(this).val();
}
}
else
{
oMap[sName] = $(this).val();
}
}
}
});