diff --git a/frontend-js/src/main/js/ServerConnector.js b/frontend-js/src/main/js/ServerConnector.js
index 435ea3e9a4ffbe1340b323331506e17ffbf2d53a..3a30c7bc397d117022d86dc696f41816be8adeea 100644
--- a/frontend-js/src/main/js/ServerConnector.js
+++ b/frontend-js/src/main/js/ServerConnector.js
@@ -1833,6 +1833,15 @@ ServerConnector.removeOverlay = function (params) {
   });
 };
 
+/**
+ *
+ * @param {Object} params
+ * @param {number} params.commentId
+ * @param {string} [params.reason]
+ * @param {string} [params.projectId]
+ *
+ * @returns {Promise}
+ */
 ServerConnector.removeComment = function (params) {
   var self = this;
   var queryParams = {
diff --git a/frontend-js/src/main/js/gui/admin/CommentsAdminPanel.js b/frontend-js/src/main/js/gui/admin/CommentsAdminPanel.js
index 27ceff879356eb4adff62503731512725efcb5c3..bfaf2efb6d1c77efb49be4211659e0acb8afbf5a 100644
--- a/frontend-js/src/main/js/gui/admin/CommentsAdminPanel.js
+++ b/frontend-js/src/main/js/gui/admin/CommentsAdminPanel.js
@@ -79,7 +79,8 @@ CommentsAdminPanel.prototype.refreshComments = function () {
         if (param.status) {
           return ServerConnector.removeComment({
             commentId: $(button).attr("data"),
-            reason: param.reason
+            reason: param.reason,
+            projectId: self.getProject().getProjectId()
           }).then(function () {
             $(button).after("<span>YES (" + param.reason + ")</span>");
             button.style.display = "none";