Skip to content

Commit

Permalink
fixed javascript error on Variant index. There was some Element.hide …
Browse files Browse the repository at this point in the history
…and Element.show left behind. Replaced with jQuery call.
  • Loading branch information
peterberkenbosch authored and romul committed Apr 15, 2010
1 parent 047e674 commit b163f28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/admin/variants/index.html.erb
Expand Up @@ -57,8 +57,8 @@
{:url => new_admin_product_variant_url(@product),
:method => :get,
:update => "variants",
:before => "Element.hide('new_var_link');Element.show('busy_indicator')",
:complete => "Element.hide('busy_indicator')"}, :class => 'iconlink' %>
:before => "$('#new_var_link').hide();$('#busy_indicator').show();",
:complete => "$('#busy_indicator').hide();"}, :class => 'iconlink' %>
</span>&nbsp;|&nbsp;<%= link_to @deleted.blank? ? t("show_deleted") : t("show_active"), admin_product_variants_url(@product, :deleted => @deleted.blank? ? "on" : "off") %>
</p>
<%= image_tag "spinner.gif", :plugin=>"spree", :style => "display:none", :id => 'busy_indicator' %>
Expand Down

0 comments on commit b163f28

Please sign in to comment.