do not require kdots in 23.1

This commit is contained in:
ralf 2024-07-08 09:48:17 +02:00
parent f604199c48
commit e6b04ac996

View File

@ -19,7 +19,6 @@ import {
EGW_KEY_ENTER, EGW_KEY_ENTER,
EGW_KEY_ESCAPE EGW_KEY_ESCAPE
} from "./egw_action_constants"; } from "./egw_action_constants";
import {EgwFramework} from "../../../kdots/js/EgwFramework";
//Global variable which is used to store the currently active menu so that it //Global variable which is used to store the currently active menu so that it
//may be closed when another menu opens //may be closed when another menu opens
@ -213,14 +212,7 @@ export class egwMenu
if (this.instance == null && this._checkImpl) if (this.instance == null && this._checkImpl)
{ {
//Obtain a new egwMenuImpl object and pass this instance to it //Obtain a new egwMenuImpl object and pass this instance to it
if(window.framework instanceof EgwFramework) this.instance = new egwMenuImpl(this.children);
{
this.instance = new EgwMenuShoelace(this.children);
}
else
{
this.instance = new egwMenuImpl(this.children);
}
_egw_active_menu = this; _egw_active_menu = this;