diff --git a/services/web/public/coffee/ide/review-panel/controllers/ReviewPanelController.coffee b/services/web/public/coffee/ide/review-panel/controllers/ReviewPanelController.coffee index d8c307d66e..67bc813da4 100644 --- a/services/web/public/coffee/ide/review-panel/controllers/ReviewPanelController.coffee +++ b/services/web/public/coffee/ide/review-panel/controllers/ReviewPanelController.coffee @@ -154,7 +154,9 @@ define [ # Assume we'll delete everything until we see it, then we'll remove it from this object delete_changes = {} - delete_changes[change_id] = true for change_id, change of entries + for change_id, change of entries + if change_id != "add-comment" + delete_changes[change_id] = true for change in rangesTracker.changes delete delete_changes[change.id] diff --git a/services/web/public/coffee/ide/review-panel/directives/addCommentEntry.coffee b/services/web/public/coffee/ide/review-panel/directives/addCommentEntry.coffee index fd3edd09ca..de10524b70 100644 --- a/services/web/public/coffee/ide/review-panel/directives/addCommentEntry.coffee +++ b/services/web/public/coffee/ide/review-panel/directives/addCommentEntry.coffee @@ -29,7 +29,6 @@ define [ scope.submitNewComment() scope.submitNewComment = () -> - console.log scope.state.content scope.onSubmit { content: scope.state.content } scope.state.isAdding = false scope.state.content = "" \ No newline at end of file