# namespaces.js Spree.Views.Attachments = {} # editable_table.js Spree.Views.Tables.EditableTable.append_attachment = (html) -> $row = $(html) $('#attachments-table').removeClass('hidden').find('tbody').append $row $row.find('.select2').select2() $('.no-objects-found').hide() @add $row