diff --git a/app/views/boards/_course_show.html.erb b/app/views/boards/_course_show.html.erb
index e2faaf846..c27546e85 100644
--- a/app/views/boards/_course_show.html.erb
+++ b/app/views/boards/_course_show.html.erb
@@ -70,9 +70,9 @@
<%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => false, :flag => true%>
-<% other_formats_links do |f| %>
- <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
-<% end %>
+<%# other_formats_links do |f| %>
+ <%#= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
+<%# end %>
<% html_title @board.name %>
diff --git a/app/views/messages/_course_show.html.erb b/app/views/messages/_course_show.html.erb
index 1c1628ded..ad07a190b 100644
--- a/app/views/messages/_course_show.html.erb
+++ b/app/views/messages/_course_show.html.erb
@@ -85,9 +85,9 @@
<% end %>
<% if !@topic.locked? && authorize_for_course('messages', 'reply') %>
- <%= form_for @reply, :as => :reply, :url => {:action => 'reply', :id => @topic}, :html => {:multipart => true, :id => 'message-form'} do |f| %>
+ <%= form_for @reply, :as => :reply, :url => {:action => 'reply', :id => @topic}, :html => {:multipart => true, :id => 'message_form'} do |f| %>
<%= render :partial => 'form_course', :locals => {:f => f, :replying => true} %>
-
<%= l(:button_submit)%>
+
<%= l(:button_submit)%>
<% end %>
@@ -106,7 +106,7 @@
{
if(flag)
{
- $("#message-form").submit();
+ $("#message_form").submit();
}
}
function regexContent()
diff --git a/app/views/messages/_form_course.html.erb b/app/views/messages/_form_course.html.erb
index e6dc99995..8f806ac97 100644
--- a/app/views/messages/_form_course.html.erb
+++ b/app/views/messages/_form_course.html.erb
@@ -35,7 +35,9 @@
- <%= render :partial => 'attachments/new_form', :locals => {:container => @message,:isReply => @isReply} %>
+
+ <%= render :partial => 'attachments/form_course', :locals => {:container => @message,:isReply => @isReply} %>
+
diff --git a/app/views/news/_course_news.html.erb b/app/views/news/_course_news.html.erb
index aa286b540..a9af6551c 100644
--- a/app/views/news/_course_news.html.erb
+++ b/app/views/news/_course_news.html.erb
@@ -66,9 +66,9 @@
<%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => false, :flag => true%>
- <% other_formats_links do |f| %>
- <%= f.link_to 'Atom', :url => {:course_id => @course, :key => User.current.rss_key} %>
- <% end %>
+ <%# other_formats_links do |f| %>
+ <%#= f.link_to 'Atom', :url => {:course_id => @course, :key => User.current.rss_key} %>
+ <%# end %>
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>