fixes #389
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
<script>
|
||||
$(function() {
|
||||
$("#new-response-link").click(function(e) {
|
||||
$("#forum_post_body").val("");
|
||||
$("#topic-response").show();
|
||||
|
||||
$('html, body').animate({
|
||||
|
||||
Reference in New Issue
Block a user