From b768dc6e82f6efb13965308ee50f8d6635dcd610 Mon Sep 17 00:00:00 2001 From: ralf Date: Mon, 9 Sep 2024 14:51:46 +0200 Subject: [PATCH] fix not working admin menu entries after mobile template automatic sidebar closing --- admin/js/app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/js/app.ts b/admin/js/app.ts index 75d3a197e1..b6644b2319 100644 --- a/admin/js/app.ts +++ b/admin/js/app.ts @@ -172,9 +172,9 @@ class AdminApp extends EgwApp return; } // check for mobile framework and close the sidebox/-bar - if (typeof framework.toggleMenu === 'function') + if (typeof window.framework?.toggleMenu === 'function') { - framework.toggleMenu('on'); + window.framework.toggleMenu('on'); } var ajax : any = false; if (_url)