Commit 5fb2bbbd by Rocky Duan

make similar posts go away when submitted post

parent 233f817f
......@@ -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("")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment