arrange
parent
5429d89683
commit
f2f450ba60
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue