master
Kanezoh 2021-05-18 22:10:03 +09:00
parent 5429d89683
commit f2f450ba60
1 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,6 @@ class MechanizeCr::Form
#@encoding = node['accept-charset'] || (page && page.encoding) || nil
#@ignore_encoding_error = false
parse
request_data
end
def request_data
@ -31,7 +30,7 @@ class MechanizeCr::Form
query = [] of String
successful_controls = Array(MechanizeCr::FormContent::Field | MechanizeCr::FormContent::CheckBox).new
fields.each do |elm|
successful_controls.push(elm)
successful_controls << elm
end
checkboxes.each do |elm|
if elm.checked