Lines 230-236
Link Here
|
230 |
$('#results-wrapper').empty().html(results_heading + table); |
230 |
$('#results-wrapper').empty().html(results_heading + table); |
231 |
|
231 |
|
232 |
var params = []; |
232 |
var params = []; |
233 |
$form.find('select,input[type="text"],input[type="hidden"]').not('[disabled]').each(function () { |
233 |
$form.find('select').not('[disabled]').each(function () { |
|
|
234 |
var value = $(this).val(); |
235 |
if (Array.isArray(value)) { |
236 |
for (i in value) { |
237 |
params.push({ 'name': $(this).attr('name'), 'value': value[i] }); |
238 |
} |
239 |
} else { |
240 |
params.push({ 'name': $(this).attr('name'), 'value': value }); |
241 |
} |
242 |
}); |
243 |
$form.find('input[type="text"],input[type="hidden"]').not('[disabled]').each(function () { |
234 |
params.push({ 'name': $(this).attr('name'), 'value': $(this).val() }); |
244 |
params.push({ 'name': $(this).attr('name'), 'value': $(this).val() }); |
235 |
}); |
245 |
}); |
236 |
$form.find('input[type="radio"]:checked').each(function() { |
246 |
$form.find('input[type="radio"]:checked').each(function() { |
237 |
- |
|
|