JangoSteve / remotipart

Rails jQuery file uploads via standard Rails "remote: true" forms.
http://os.alfajango.com/remotipart
Other
1k stars 215 forks source link

Problematic interaction with kaminari gem #121

Open jeremymburton opened 9 years ago

jeremymburton commented 9 years ago

My pattern is as follows:

Everything works...except that the links inside the paginator now look like this:

<a href="/workers?X-Http-Accept=text%2Fjavascript%2C+application%2Fjavascript%2C+application%2Fecmascript%2C+application%2Fx-ecmascript%2C+%2A%2F%2A%3B+q%3D0.01&amp;X-Requested-With=IFrame&amp;authenticity_token=%2FxEao%2BCxeuJp4FzXFzTgIteFIk%2Bgzw%2Bnqvh1aljG2WY%3D&amp;commit=Import&amp;file=%23%3CActionDispatch%3A%3AHttp%3A%3AUploadedFile%3A0x007fa33156ccb0%3E&amp;page=2&amp;remotipart_submitted=true&amp;utf8=%E2%9C%93" rel="next">2</a>

These links don't work since they load a page containing a textarea with the page content.

esbanarango commented 9 years ago

@jeremymburton could you share the way you have set your form, and also your response form the server. Thanks