Fix bug on from_confrim using ajax and radio button question type

This commit is contained in:
Florian Henry 2013-07-10 13:10:32 +02:00
parent b9bfccd0e2
commit 44cd024f89

View File

@ -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;