Fix signature of call to unresolveComment

This commit is contained in:
James Allen 2017-01-05 10:34:28 +01:00
parent 1599c41670
commit 898d20a6fc

View file

@ -218,7 +218,7 @@ define [
$scope.$broadcast "review-panel:layout" $scope.$broadcast "review-panel:layout"
$scope.submitReply = (entry, entry_id) -> $scope.submitReply = (entry, entry_id) ->
$scope.unresolveComment(entry_id) $scope.unresolveComment(entry, entry_id)
thread_id = entry.thread_id thread_id = entry.thread_id
content = entry.replyContent content = entry.replyContent
$http.post("/project/#{$scope.project_id}/thread/#{thread_id}/messages", {content, _csrf: window.csrfToken}) $http.post("/project/#{$scope.project_id}/thread/#{thread_id}/messages", {content, _csrf: window.csrfToken})