diff --git a/app/assets/javascripts/bulletin_form.js.erb b/app/assets/javascripts/bulletin_form.js.erb index 0efd4b25..7266f1ab 100644 --- a/app/assets/javascripts/bulletin_form.js.erb +++ b/app/assets/javascripts/bulletin_form.js.erb @@ -1,11 +1,9 @@ $('.bulletin_links_block a.delete').live('click', function(){ - //$(this).parents('.list_item').remove(); - $(this).parents('tr.list_item').remove(); + $(this).parents('.list_item').remove(); }); $('.bulletin_files_block a.delete').live('click', function(){ - //$(this).parents('.list_item').remove(); - $(this).parents('tr.list_item').remove(); + $(this).parents('.list_item').remove(); }); $('.action a.remove_existing_record').live('click', function(){ diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_form.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_form.html.erb index 7067fbd9..4aedb45a 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_form.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/_form.html.erb @@ -164,6 +164,9 @@

Link

+ + +
@@ -212,6 +215,9 @@

File

+ +
+ @@ -232,8 +238,6 @@ - -
<% @bulletin.bulletin_files.each_with_index do |bulletin_file, i| %> <%#= fields_for "bulletin[bulletin_files][]", bulletin_file do |f| %> @@ -241,11 +245,12 @@ <%= render :partial => 'form_bulletin_file', :object => bulletin_file, :locals => {:f => f, :i => i} %> <% end %> <% end %> - -
+ +
+
diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/show.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/show.html.erb index 5a33b86a..30cbbb56 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/show.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/back_end/bulletins/show.html.erb @@ -1,7 +1,3 @@ -<% content_for :secondary do %> -<%= render :partial => '/panel/announcement/back_end/announcement_secondary' %> -<% end -%> - <%= flash_messages %>