diff --git a/app/views/hooks/redmine_mentions_suggestions/_edit_mentionable.html.erb b/app/views/hooks/redmine_mentions_suggestions/_edit_mentionable.html.erb index 537c264..a1e7345 100644 --- a/app/views/hooks/redmine_mentions_suggestions/_edit_mentionable.html.erb +++ b/app/views/hooks/redmine_mentions_suggestions/_edit_mentionable.html.erb @@ -64,7 +64,9 @@ } if ($('input[name="issue_suggest_status"]:checked').val()) { var statusId = $('input[name="issue_suggest_status"]:checked').val(); - $('#issue_status_id').val(statusId); + if (statusId != 0) { + $('#issue_status_id').val(statusId); + } } }); }