JangoSteve / remotipart

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

HTML response from js.erb #177

Open trustarun opened 7 years ago

trustarun commented 7 years ago

I am having below environment

Rails 4.2.5, ruby 2.2.2p95 , remotipart-1.2.1

The file upload successfully remotely i,e through Ajax, but je.erb response is HTML rather then JS

<!DOCTYPE html>

mshibuya commented 6 years ago

What's wrong with it?