From 44cd024f8950aaf75c509e8f9aab66ab35f14f57 Mon Sep 17 00:00:00 2001 From: Florian Henry Date: Wed, 10 Jul 2013 13:10:32 +0200 Subject: [PATCH] Fix bug on from_confrim using ajax and radio button question type --- htdocs/core/class/html.form.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index ca5b2c833d0..267815f8ddf 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -2517,6 +2517,7 @@ class Form $.each(inputok, function(i, inputname) { var more = ""; if ($("#" + inputname).attr("type") == "checkbox") { more = ":checked"; } + if ($("#" + inputname).attr("type") == "radio") { more = ":checked"; } var inputvalue = $("#" + inputname + more).val(); if (typeof inputvalue == "undefined") { inputvalue=""; } options += "&" + inputname + "=" + inputvalue;