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();