Add article creation frontend
This commit is contained in:
@@ -184,8 +184,8 @@ async function submitarticle(){
|
||||
let articleBodyElement = document.getElementById("articlebodyinput");
|
||||
await doAction("/newsarticle", {
|
||||
action: "addNewsArticle",
|
||||
title: articleTitleElement,
|
||||
body: articleBodyElement
|
||||
title: articleTitleElement.value,
|
||||
body: articleBodyElement.value
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user