Add article creation frontend
This commit is contained in:
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(){
|
||||
|
Loading…
Reference in New Issue
Block a user