Steve Schwartz
Steve Schwartz
> What jquery-ujs does is set the accepts header of the request. This is completely different from setting the actual dataType of the AJAX call. dataType is used to figure...
To give a little more clarity, the reason we're setting dataType for `script *` instead of just `*` (or leaving it alone), is for the sake of the accepts header....
Again, remotipart is not setting the dataType to js, it's setting it to anything, with js preferred, meaning if js isn't available, it should be whatever your controller is returning....
I'm not sure why `ajax:success` wouldn't be invoked. It's tested behavior, the tests pass, and it works fine in the demo app. For the page title, I'm not sure what...
I've not tried it, but I would certainly be interested in any patch that provides support if it doesn't currently work.
_I had to edit your comment with a code block so it would show up._
This might be the same as #3, maybe see my solution there.
I was having the same issue. Seeing as to how the last commit to this repo was 3 years ago, I created a fork/branch with the fix @saulkeme linked to,...
It's meant to act as a polyfill for browsers that don't prevent the form from being submitted. Since some do, it's always a good idea to handle it yourself. What...
> Why would any developer add required attributes to input fields and still assume that the form can be submitted with blank fields? Because some browsers don't prevent the forms...