forgeplus/app/views/attachments/upload_images.js.erb

3 lines
245 B
Plaintext
Raw Normal View History

2020-10-14 15:31:43 +08:00
<% if @status > 0 %>
$("#admin-logo-upload").html("<%= j render partial: "admins/forum_sections/show_image_forum", locals: {logo_url: download_url(@attachment), attachment: @attachment, image_type: params[:image_type] || 'image' } %>")
<% end %>