add inline forum editing

This commit is contained in:
albert
2013-02-17 14:12:31 -05:00
parent e8ba363b83
commit ff68644a2e
9 changed files with 21 additions and 7 deletions

View File

@@ -0,0 +1,6 @@
$("#forum_post_body").val("<%= escape_javascript @forum_post.body %>");
$("#new-topic-response").show();
$('html, body').animate({
scrollTop: $("#forum_post_body").offset().top - 100
}, 500);