diff --git a/app/views/admin/property_items/_form.html.erb b/app/views/admin/property_items/_form.html.erb index ab75881..871ce0b 100644 --- a/app/views/admin/property_items/_form.html.erb +++ b/app/views/admin/property_items/_form.html.erb @@ -191,7 +191,6 @@ var on = $('.language-nav li.active').index(); var le = $(this).parent('.add-btn').prev('.add-target').children('.start-line').length; $(this).prev().attr('value', parseInt(new_id) + 1); - $(this).parent().siblings('.add-target').append(("<%= escape_javascript(add_attribute 'form_file', f, :digital_content_archive_files) %>").replace(old_id, new_id)); $(this).parent('.add-btn').prev('.add-target').children('.start-line').eq(le).children('.input-append').find('.tab-content').each(function() { $(this).children('.tab-pane').eq(on).addClass('in active').siblings().removeClass('in active'); }); diff --git a/app/views/admin/property_items/_form_file.html.erb b/app/views/admin/property_items/_form_file.html.erb deleted file mode 100644 index e69de29..0000000