Duplicate comments quick fix.

This commit is contained in:
Alexey Skobkin 2015-07-19 22:47:09 +03:00
parent a3a82d6087
commit 465c10137e

View file

@ -196,9 +196,9 @@ AjaxCommentProcessor.prototype.onSuccess = function(data, textStatus) {
} else { } else {
if (this.isRecommendation() && this._text.trim().length === 0) { if (this.isRecommendation() && this._text.trim().length === 0) {
this.showSuccessRecommendation(); this.showSuccessRecommendation();
} else { }/* else {
this.createComment(data); this.createComment(data);
} }*/
this.hideForm(); this.hideForm();
// Cleaning textarea // Cleaning textarea