diff --git a/assets/script.js b/assets/script.js index 9418ade..4077d14 100644 --- a/assets/script.js +++ b/assets/script.js @@ -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(){