1

I have this form, which submits well on Safari and Chrome but not in Firefox :

<%= form_for @user, :remote=> true, :html => { :id => "upload_avatar" , :multipart => true} do |f| %>
<%= hidden_field_tag :delete_avatar_pic%>
<%= f.file_field :avatar, :accept => "image/*"%>
<% end %>

Any idea?

Thanks!

Jeremie

Jercoh
  • 103
  • 2
  • 7
  • Maybe javascript is disabled in your firefox ? If it's enabled, then good way to debug it in firefox is installing the fireBug. Then you could monitor your request and see what's happening. – Parandroid May 30 '13 at 11:43
  • actually the forms submits well but the file_field remains empty even if I select a file to upload. javascript is enabled – Jercoh May 30 '13 at 13:13

0 Answers0