This commit is contained in:
albert
2013-02-18 16:07:07 -05:00
parent b8c0cbeed1
commit d333e7316d
3 changed files with 2 additions and 2 deletions

View File

@@ -24,6 +24,7 @@
<li><%= link_to "Delete", forum_post_path(forum_post.id), :confirm => "Do you really want to delete this post?", :method => :delete, :remote => true %></li>
<% end %>
<li><%= link_to "Edit", edit_forum_post_path(forum_post.id) %></li>
<li><%= link_to "Permalink", forum_post_path(forum_post) %></li>
<% end %>
</menu>
</div>

View File

@@ -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({

View File

@@ -35,7 +35,6 @@
<script>
$(function() {
$("#new-response-link").click(function(e) {
$("#forum_post_body").val("");
$("#topic-response").show();
$('html, body').animate({