|
|
|
@ -11,5 +11,4 @@ fileSpan.find('a.remove-upload')
|
|
|
|
|
})
|
|
|
|
|
.off('click');
|
|
|
|
|
$('<input>', { type: 'hidden', name: 'attachments[<%= j params[:attachment_id] %>][token]' } ).val('<%= j @attachment.token %>').appendTo(fileSpan);
|
|
|
|
|
console.log(fileSpan.html())
|
|
|
|
|
<% end %>
|
|
|
|
|