From b5c481dd65195340fe2ebf59bf4e970a6c7b2aff Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 28 Oct 2019 14:20:21 +0300 Subject: [PATCH] Remove comments --- apps/common/main/lib/controller/Comments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/main/lib/controller/Comments.js b/apps/common/main/lib/controller/Comments.js index 50348c6ec..f5d954ec3 100644 --- a/apps/common/main/lib/controller/Comments.js +++ b/apps/common/main/lib/controller/Comments.js @@ -238,7 +238,7 @@ define([ }, onRemoveComments: function (type) { if (this.api) { - this.api.asc_removeComments(type!='current', type=='my' || !this.mode.canEditComments);// 1 param = true if remove all comments (not current), 2 param - only my comments + this.api.asc_RemoveAllComments(type=='my' || !this.mode.canEditComments, type=='current');// 1 param = true if remove only my comments, 2 param - remove current comments } }, onResolveComment: function (uid) {