base/app/views/comments/create.js.erb in social_stream-0.11.8 vs base/app/views/comments/create.js.erb in social_stream-0.12.0
- old
+ new
@@ -1,7 +1,10 @@
//Display the new comment
$("#comments_activity_<%= @comment.post_activity.parent.id %>").append("<%= escape_javascript(render @comment.post_activity) %>");
$(".activities_comment_btn").hide();
+$(".input_new_comments").each(function() {
+ $(this).focus().val("").blur();
+});
setActivityPrivacyTooltips("<%= escape_javascript dom_id(@comment.post_activity) %>");
unblock_all_forms();