diff --git a/app/views/forum_posts/_forum_post.html.erb b/app/views/forum_posts/_forum_post.html.erb index 71b989a7e..d763c33fa 100644 --- a/app/views/forum_posts/_forum_post.html.erb +++ b/app/views/forum_posts/_forum_post.html.erb @@ -24,6 +24,7 @@
  • <%= link_to "Delete", forum_post_path(forum_post.id), :confirm => "Do you really want to delete this post?", :method => :delete, :remote => true %>
  • <% end %>
  • <%= link_to "Edit", edit_forum_post_path(forum_post.id) %>
  • +
  • <%= link_to "Permalink", forum_post_path(forum_post) %>
  • <% end %> diff --git a/app/views/forum_posts/new.js.erb b/app/views/forum_posts/new.js.erb index 7da7750cc..389c17dd5 100644 --- a/app/views/forum_posts/new.js.erb +++ b/app/views/forum_posts/new.js.erb @@ -1,4 +1,4 @@ -$("#forum_post_body").val(<%= raw @forum_post.body.to_json %>); +$("#forum_post_body").val($("#forum_post_body").val() + <%= raw @forum_post.body.to_json %>); $("#topic-response").show(); $('html, body').animate({ diff --git a/app/views/forum_topics/show.html.erb b/app/views/forum_topics/show.html.erb index d523eed21..b37ec2d5d 100644 --- a/app/views/forum_topics/show.html.erb +++ b/app/views/forum_topics/show.html.erb @@ -35,7 +35,6 @@