Merged in isqua/chrome_point_plus/iss82 (pull request #42)

Починить рекомендацию постов и комментариев при ajax-комментах; Fixes #82
This commit is contained in:
isqua 2015-02-07 19:37:40 +03:00
commit ad5ace57cb

View file

@ -103,7 +103,7 @@ AjaxCommentProcessor.prototype.sendComment = function() {
$.ajax({ $.ajax({
type: 'POST', type: 'POST',
url: '/api/post/' + this._postId, url: '/api/post' + this._$form.attr('action'),
data: { data: {
text: this._text, text: this._text,
comment_id: this._commentId comment_id: this._commentId