Compare commits
1 Commits
6aadbaaf0c
...
e2bdf2220a
Author | SHA1 | Date |
---|---|---|
Tim Van Baak | e2bdf2220a |
|
@ -110,7 +110,9 @@
|
|||
function submitArticle()
|
||||
{
|
||||
ifNoFurtherChanges(() => {
|
||||
article.state = ArticleState.SUBMITTED;
|
||||
article.state = (article.state == ArticleState.DRAFT
|
||||
? ArticleState.SUBMITTED
|
||||
: ArticleState.DRAFT);
|
||||
update();
|
||||
},
|
||||
/* timeout: */ 0);
|
||||
|
|
Loading…
Reference in New Issue