Add article creation frontend

This commit is contained in:
Bruno Rybársky 2024-02-22 12:28:16 +01:00
parent 37c0827cdf
commit c74feeb8cd

@ -186,7 +186,9 @@ async function submitarticle(){
action: "addNewsArticle",
title: articleTitleElement.value,
body: articleBodyElement.value
});
}, "Článok úspešne pridaný",
"Nastala chyba pri pridávaní článku",
false);
}
async function articleInit(){