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