Fix missing dhtmlx menu object

This commit is contained in:
Hadi Nategh 2021-06-10 13:59:12 +02:00
parent 0730d4880e
commit 0de8f242aa
4 changed files with 4 additions and 2 deletions

View File

@ -9,7 +9,7 @@
* *
* @Todo: @new-js-loader port to TypeScript * @Todo: @new-js-loader port to TypeScript
*/ */
import {egwMenuImpl} from './egw_menu_dhtmlx.js';
//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 openes //may be closed when another menu openes
export var _egw_active_menu = null; export var _egw_active_menu = null;

View File

@ -23,7 +23,7 @@
* *
* @param {type} _structure * @param {type} _structure
*/ */
function egwMenuImpl(_structure) export function egwMenuImpl(_structure)
{ {
//Create a new dhtmlxmenu object //Create a new dhtmlxmenu object
this.dhtmlxmenu = new dhtmlXMenuObject(); this.dhtmlxmenu = new dhtmlXMenuObject();

View File

@ -12,6 +12,7 @@
*/ */
import '../../api/js/jsapi/egw_global'; import '../../api/js/jsapi/egw_global';
import { EgwApp } from '../../api/js/jsapi/egw_app'; import { EgwApp } from '../../api/js/jsapi/egw_app';
import { egw } from "../../api/js/jsapi/egw_global";
/** /**
* UI for timesheet * UI for timesheet
* *

View File

@ -14,6 +14,7 @@
import '../../api/js/jsapi/egw_global'; import '../../api/js/jsapi/egw_global';
import {EgwApp} from '../../api/js/jsapi/egw_app'; import {EgwApp} from '../../api/js/jsapi/egw_app';
import {egw} from "../../api/js/jsapi/egw_global";
/** /**
* UI for timesheet * UI for timesheet