Починить рекомендацию постов и комментариев при ajax-комментах

This commit is contained in:
isqua 2015-02-07 18:17:49 +03:00
parent 13ee04dcc2
commit 94846f28f3
1 changed files with 1 additions and 1 deletions

View File

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