It seems like page.call function is not getting handled properly i.e.
on successful form submission, controller does the following -
render :update do |page|
page << "$('contact_us_table').hide();"
page << "$('contact_status').show();"
end
which should hide the contact form and display a message.
It seems like page.call function is not getting handled properly i.e.
on successful form submission, controller does the following -
render :update do |page|
page << "$('contact_us_table').hide();"
page << "$('contact_status').show();"
end
which should hide the contact form and display a message.
I'd say you have to change your submit onclick handler
to call this.form.onsubmit() instead of this.form.submit().
Perhaps instead of a remote_form and a normal submit button
you should use a normal form and a submit_to_remote button
with onclick JS "this.disabled=true;this.value='Sending...'"