Add article creation frontend

This commit is contained in:
2024-02-22 12:24:09 +01:00
parent c478da8088
commit f9cf2eab8f
2 changed files with 3 additions and 3 deletions

View File

@@ -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
});
}