Sha256: 54259e38e7435f6608741b1bdd385e41afd54e6b00acd3f1b5bea613fbf3aa2c
Contents?: true
Size: 356 Bytes
Versions: 148
Compression:
Stored size: 356 Bytes
Contents
var $uploadEl = $('[data-upload-id="<%= params[:upload_id] %>"]'); <% if @image.persisted? %> $uploadEl.trigger('clear'); Spree.Views.Tables.EditableTable.append('<%= j render "image_row", image: @image %>'); <% else %> $uploadEl.find('error').removeClass('hidden').html('<%= j @image.errors.full_messages.join("<br>").html_safe %>'); <% end %>
Version data entries
148 entries across 148 versions & 2 rubygems