test
This commit is contained in:
parent
fb78962fc1
commit
a87e165f97
|
|
@ -554,12 +554,10 @@ foreach ($menus as $key0 => $menuParent) {
|
|||
|
||||
<!-- Service Worker Registration -->
|
||||
<script src="/Js/sw-register.js?ver=2025.12.22.00"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<script>
|
||||
// Test du système de menus
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
<script>
|
||||
// Test du système de menus
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
console.group('=== TEST SYSTÈME DE MENUS ===');
|
||||
|
||||
// Vérifier l'état initial
|
||||
|
|
@ -646,10 +644,10 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
debugIndicator.textContent = `Menu: ${activeMenuId || 'Aucun'}`;
|
||||
document.body.appendChild(debugIndicator);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
// Fonction globale pour tester depuis la console
|
||||
function testMenuSystem() {
|
||||
// Fonction globale pour tester depuis la console
|
||||
function testMenuSystem() {
|
||||
console.log('=== TEST MANUEL DU SYSTÈME DE MENUS ===');
|
||||
|
||||
if (!window.appNavigation) {
|
||||
|
|
@ -683,8 +681,11 @@ function testMenuSystem() {
|
|||
}
|
||||
}, 500);
|
||||
}, 500);
|
||||
}
|
||||
}
|
||||
|
||||
// Exposer la fonction de test
|
||||
window.testMenuSystem = testMenuSystem;
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
// Exposer la fonction de test
|
||||
window.testMenuSystem = testMenuSystem;
|
||||
</script>
|
||||
Loading…
Reference in New Issue
Block a user