From 900546dfb7fa8cc6bef94f21c8e69a1e79b73b2e Mon Sep 17 00:00:00 2001 From: Milka Kuzminski Date: Tue, 24 Nov 2020 22:52:34 +0100 Subject: [PATCH] comments: fixed attach general comments. --- rhodecode/public/js/src/rhodecode/comments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhodecode/public/js/src/rhodecode/comments.js b/rhodecode/public/js/src/rhodecode/comments.js index 91949874..8bf6cc9d 100644 --- a/rhodecode/public/js/src/rhodecode/comments.js +++ b/rhodecode/public/js/src/rhodecode/comments.js @@ -371,7 +371,7 @@ var _submitAjaxPOST = function(url, postData, successHandler, failHandler) { location.reload(true); } else { // inject newly created comments, json_data is {: {}} - self.attachGeneralComment(json_data) + Rhodecode.comments.attachGeneralComment(json_data) self.resetCommentFormState(); timeagoActivate();