I’m not sure if I found a bug, or if I’m doing something wrong. Here
is what happens:
We’re using Rails 3.0.1 with jQuery instead of Prototype. When we
create a simple ajax form (using :remote => true) and
use :disable_with on the submit button, it works.
another partial. Because page.replace does not work with jQuery, we’re
=== response.js.erb ================
render :partial => ‘form’ %>’);
This works pretty well, but if I’m using Firefox, and I reload the
page (e.g. by pressing Command-R), the form will never be sent again.
This only happens when we use the “:disable_with” option for the
submit button. So I guess it must have something to do with the jQuery
version of rails.js.
I’ve prepared a short sample project:
Did I made a mistake, or do you think it’s a bug and I should open a