From 574561dba45571efdceb810261d4ceb70d04d8ee Mon Sep 17 00:00:00 2001 From: HThuren Date: Mon, 29 Jan 2024 19:01:18 +0100 Subject: [PATCH] multiple-select bump to 1.7.0 --- package.json | 2 +- src/js/jqueryPlugins.js | 5 ++--- src/tabs/presets/DetailedDialog/PresetsDetailedDialog.js | 2 +- src/tabs/presets/presets.js | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 29c2d44460..1924480d38 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "lodash.debounce": "^4.0.8", "marked": "^4.1.1", "multicast-dns": "^7.2.5", - "multiple-select": "^1.6.0", + "multiple-select": "^1.7.0", "nw-vue-devtools-prebuilt": "^0.0.10", "ol": "^8.2.0", "select2": "^4.0.13", diff --git a/src/js/jqueryPlugins.js b/src/js/jqueryPlugins.js index bf8e5c64eb..fb3ccf4d40 100644 --- a/src/js/jqueryPlugins.js +++ b/src/js/jqueryPlugins.js @@ -4,9 +4,8 @@ import 'jquery-textcomplete'; import 'jquery-touchswipe'; import select2 from 'select2'; select2(jQuery); -import 'multiple-select'; -//import multipleSelect from 'multiple-select'; -//multipleSelect('destroy'); +import multipleSelect from 'multiple-select'; +multipleSelect('init'); import 'multiple-select/dist/multiple-select-locale-all.js'; import '../../libraries/jquery.nouislider.all.min.js'; import '../../libraries/jquery.flightindicators.js'; diff --git a/src/tabs/presets/DetailedDialog/PresetsDetailedDialog.js b/src/tabs/presets/DetailedDialog/PresetsDetailedDialog.js index 9effaad056..a10ecb0b7b 100644 --- a/src/tabs/presets/DetailedDialog/PresetsDetailedDialog.js +++ b/src/tabs/presets/DetailedDialog/PresetsDetailedDialog.js @@ -1,5 +1,5 @@ import GUI from "../../../js/gui"; -import { i18n, getCurrentLocaleISO } from "../localization"; +import { i18n, getCurrentLocaleISO } from "../../../js/localization"; import PickedPreset from "../PickedPreset"; import PresetTitlePanel from "../TitlePanel/PresetTitlePanel"; import FC from "../../../js/fc"; diff --git a/src/tabs/presets/presets.js b/src/tabs/presets/presets.js index 38b51ba157..2e243406c2 100644 --- a/src/tabs/presets/presets.js +++ b/src/tabs/presets/presets.js @@ -2,7 +2,7 @@ import '../../js/jqueryPlugins'; import GUI, { TABS } from '../../js/gui'; import { get as getConfig, set as setConfig } from '../../js/ConfigStorage'; import { generateFilename } from '../../js/utils/generate_filename'; -import { i18n, getCurrentLocaleISO } from "../localization"; +import { i18n, getCurrentLocaleISO } from "../../js/localization"; import FC from '../../js/fc'; import CONFIGURATOR from '../../js/data_storage'; import UI_PHONES from '../../js/phones_ui';