make similar posts go away when submitted post

This commit is contained in:
Rocky Duan
2012-08-23 02:03:50 -07:00
parent 233f817f0b
commit 5fb2bbbd7f

View File

@@ -129,6 +129,8 @@ if Backbone?
$thread = $(response.html)
@$el.children(".threads").prepend($thread)
@$(".new-post-similar-posts").empty()
@$(".new-post-similar-posts-wrapper").hide()
@$(".new-post-title").val("")
DiscussionUtil.setWmdContent @$el, $.proxy(@$, @), "new-post-body", ""
@$(".new-post-tags").val("")