From 08d7b7df3e5a6a769a3954b99b62ad48734be4b7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 9 Jun 2021 11:21:52 +0200 Subject: [PATCH] fix async loading caused app.js not being loaded before et2.load() tried to instantiate it --- api/js/etemplate/et2_dataview_view_aoi.js | 1 + api/js/etemplate/et2_dataview_view_aoi.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/api/js/etemplate/et2_dataview_view_aoi.js b/api/js/etemplate/et2_dataview_view_aoi.js index 764fa59520..a3d8472dc2 100644 --- a/api/js/etemplate/et2_dataview_view_aoi.js +++ b/api/js/etemplate/et2_dataview_view_aoi.js @@ -16,6 +16,7 @@ import { EGW_AO_SHIFT_STATE_MULTI, EGW_AO_STATE_FOCUSED, EGW_AO_STATE_SELECTED, egwActionObjectInterface } from "../egw_action/egw_action.js"; import { egwBitIsSet, egwGetShiftState, egwPreventSelect, egwSetBit, egwUnfocus, egwIsMobile } from "../egw_action/egw_action_common.js"; import { _egw_active_menu } from "../egw_action/egw_menu.js"; +import '../../../vendor/bower-asset/jquery-touchswipe/jquery.touchSwipe.js'; /** * Contains the action object interface implementation for the nextmatch widget * row. diff --git a/api/js/etemplate/et2_dataview_view_aoi.ts b/api/js/etemplate/et2_dataview_view_aoi.ts index 803bc09c42..839c3c71c5 100644 --- a/api/js/etemplate/et2_dataview_view_aoi.ts +++ b/api/js/etemplate/et2_dataview_view_aoi.ts @@ -23,6 +23,7 @@ import { } from "../egw_action/egw_action.js"; import {egwBitIsSet, egwGetShiftState, egwPreventSelect, egwSetBit, egwUnfocus, egwIsMobile} from "../egw_action/egw_action_common.js"; import {_egw_active_menu} from "../egw_action/egw_menu.js"; +import '../../../vendor/bower-asset/jquery-touchswipe/jquery.touchSwipe.js'; /** * Contains the action object interface implementation for the nextmatch widget