diff --git a/public/javascripts/prototype.js b/public/javascripts/prototype.js index db86961..f84a52e 100644 --- a/public/javascripts/prototype.js +++ b/public/javascripts/prototype.js @@ -4993,7 +4993,13 @@ var Form = { key = element.name; value = $(element).getValue(); if (value != null && element.type != 'file' && (element.type != 'submit' || (!submitted && submit !== false && (!submit || key == submit) && (submitted = true)))) { - result = accumulator(result, key, value); + if (Object.isArray(value)){ + value.each(function(value) { + result = accumulator(result, key, value); + }); + } else { + result = accumulator(result, key, value); + } } } return result;