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() function submitArticle()
{ {
ifNoFurtherChanges(() => { ifNoFurtherChanges(() => {
article.state = (article.state == ArticleState.DRAFT article.state = ArticleState.SUBMITTED;
? ArticleState.SUBMITTED
: ArticleState.DRAFT);
update(); update();
}, },
/* timeout: */ 0); /* timeout: */ 0);