Skip to content

Commit

Permalink
Ensure one could change the report status without specifying a motiva…
Browse files Browse the repository at this point in the history
…tion (#3935)
  • Loading branch information
evilaliv3 committed Jan 11, 2024
1 parent 695e69d commit f63a22e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/js/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ factory("RTip", ["$rootScope", "$http", "RTipResource", "RTipCommentResource","R
};

tip.updateSubmissionStatus = function() {
return tip.operation("update_status", {"status": tip.status, "substatus": tip.substatus ? tip.substatus : "", "motivation": tip.motivation}).then(function () {
return tip.operation("update_status", {"status": tip.status, "substatus": tip.substatus ? tip.substatus : "", "motivation": tip.motivation || ""}).then(function () {
$rootScope.reload();
});
};
Expand Down

0 comments on commit f63a22e

Please sign in to comment.