Actualiser assets/js/app.js
CI / PHP Syntax Check (push) Has been cancelled
CI / JavaScript Lint (push) Has been cancelled
CI / Docker Build Test (push) Has been cancelled
CI / Validate Translation Files (push) Has been cancelled
CI / Auto-merge develop → main (push) Has been cancelled
CI / Create GitHub Release (push) Has been cancelled

This commit is contained in:
2026-06-17 22:26:09 +00:00
parent 4d1a4be0ea
commit 8543106fed
+4 -4
View File
@@ -20081,13 +20081,13 @@ setInterval(() => {
if (parentForm && !parentForm.querySelector('.btn-edit-catalog-shortcut')) { if (parentForm && !parentForm.querySelector('.btn-edit-catalog-shortcut')) {
// Création du bouton bleu // Création du bouton bleu
const editBtn = document.createElement('button'); //const editBtn = document.createElement('button');
editBtn.type = 'button'; //editBtn.type = 'button';
editBtn.className = 'btn btn-large btn-edit-catalog-shortcut'; // editBtn.className = 'btn btn-large btn-edit-catalog-shortcut';
// editBtn.innerText = '✏️ Modifier la fiche produit (Catégorie)'; // editBtn.innerText = '✏️ Modifier la fiche produit (Catégorie)';
// Style identique à tes captures d'écran // Style identique à tes captures d'écran
editBtn.style.cssText = 'margin-bottom: 12px; background-color: #1976d2; color: white; width: 100%; border: none; border-radius: 8px; padding: 14px; font-size: 16px; font-weight: bold; cursor: pointer; display: block; text-align: center;'; // editBtn.style.cssText = 'margin-bottom: 12px; background-color: #1976d2; color: white; width: 100%; border: none; border-radius: 8px; padding: 14px; font-size: 16px; font-weight: bold; cursor: pointer; display: block; text-align: center;';
// Logique de clic pour basculer vers le catalogue // Logique de clic pour basculer vers le catalogue
editBtn.onclick = function(e) { editBtn.onclick = function(e) {