comments: fixed attach general comments.

This commit is contained in:
Milka Kuzminski 2020-11-24 22:52:34 +01:00
parent 8d7efb9dc7
commit 900546dfb7

View file

@ -371,7 +371,7 @@ var _submitAjaxPOST = function(url, postData, successHandler, failHandler) {
location.reload(true);
} else {
// inject newly created comments, json_data is {<comment_id>: {}}
self.attachGeneralComment(json_data)
Rhodecode.comments.attachGeneralComment(json_data)
self.resetCommentFormState();
timeagoActivate();