From 1bf0c6a511b225c5327ae808596d494cf05498b6 Mon Sep 17 00:00:00 2001 From: Ruling-Mac Date: Mon, 31 Aug 2015 14:44:06 +0800 Subject: [PATCH] remove some unecessary files --- app/views/admin/property_items/_form.html.erb | 1 - app/views/admin/property_items/_form_file.html.erb | 0 2 files changed, 1 deletion(-) delete mode 100644 app/views/admin/property_items/_form_file.html.erb 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