fix not working admin menu entries after mobile template automatic sidebar closing

This commit is contained in:
ralf 2024-09-09 14:51:46 +02:00
parent b1d382fd66
commit 773371584e

View File

@ -172,9 +172,9 @@ class AdminApp extends EgwApp
return; return;
} }
// check for mobile framework and close the sidebox/-bar // 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; var ajax : any = false;
if (_url) if (_url)