Compare commits

..

1 Commits

Author SHA1 Message Date
Tim Van Baak 6aadbaaf0c Implement draft previews and constraint analysis 2021-10-13 20:56:59 -07:00
1 changed files with 1 additions and 3 deletions

View File

@ -110,9 +110,7 @@
function submitArticle()
{
ifNoFurtherChanges(() => {
article.state = (article.state == ArticleState.DRAFT
? ArticleState.SUBMITTED
: ArticleState.DRAFT);
article.state = ArticleState.SUBMITTED;
update();
},
/* timeout: */ 0);