Corrected an issue with Add To Cart button not working on IE7 #1397

Closed
wants to merge 1 commit into
from
@@ -38,7 +38,7 @@
<% if @product.has_stock? || Spree::Config[:allow_backorders] %>
<%= number_field_tag (@product.has_variants? ? :quantity : "variants[#{@product.master.id}]"),
1, :class => 'title', :in => 1..@product.on_hand %>
- <%= button_tag :class => 'large primary', :id => 'add-to-cart-button' do %>
+ <%= button_tag :class => 'large primary', :id => 'add-to-cart-button', :type => :submit do %>
<%= t(:add_to_cart) %>
<% end %>
<% else %>