Remove the code finding an issue by undefined

This commit is contained in:
Phil Hughes 2016-10-06 14:52:36 +01:00
parent 2f53a8d08f
commit 8ad923695e
1 changed files with 1 additions and 2 deletions

View File

@ -39,8 +39,7 @@
// Need this because our jQuery very kindly disables buttons on ALL form submissions
$(this.$els.submitButton).enable();
// Remove issue with no ID
const issue = this.list.findIssue(undefined);
// Remove the issue
this.list.removeIssue(issue);
// Show error message