使用Firefox的rails Remotipart表单不起作用

时间:2013-05-30 11:04:37

标签: ruby-on-rails ajax firefox upload remotipart

我有这个表单,在Safari和Chrome上提交但不在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 %>

有什么想法吗?

谢谢!

雷米

0 个答案:

没有答案