orbit-4-2/app/views/admin/designs/upload_image.html.erb

9 lines
231 B
Plaintext
Raw Normal View History

<% if !request.xhr? %>
<textarea>
<% end %>
$('#image_list').append("<%= j render :partial => 'image', :object => @image %>");
$('#imageModal').modal('hide');
$('#ajaxForm').resetForm();
<% if !request.xhr? %>
</textarea>
<% end %>