From 4808ef74f33f71823f733d2f9b36bc4cccaba1a8 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Mon, 14 Dec 2015 13:14:21 +0000 Subject: [PATCH] (retrofit) Properly read radio button values inside a form. SVN:2.2.0[3851] --- js/property_field.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/property_field.js b/js/property_field.js index 3a993655a9..fc4ce76a4f 100644 --- a/js/property_field.js +++ b/js/property_field.js @@ -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(); } + } } });