ajout du badge publié sur facebook (bootstrap) dans la page accueil blog
This commit is contained in:
@@ -19,7 +19,7 @@ form.addEventListener('submit', function(e) {
|
||||
const fichierImage = imgField.files[0];
|
||||
const contenu = tinymce.get("articleContent").getContent();
|
||||
const categorie = categoryField.value;
|
||||
const published = publishedField.checked; // ← récupère la case cochée
|
||||
const published = publishedField.checked; // récupère la case cochée
|
||||
|
||||
// Reset messages
|
||||
errorEmpty.classList.add('d-none');
|
||||
@@ -92,7 +92,7 @@ form.addEventListener('submit', function(e) {
|
||||
|
||||
// Redirection
|
||||
setTimeout(() => {
|
||||
window.location.href = "../html/liste_categorie_article.html";
|
||||
window.location.href = "../html/accueil_blog.html";
|
||||
}, 1000);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user