debian-mirror-gitlab/app/assets/javascripts/pages/groups/edit/index.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
1.1 KiB
JavaScript
Raw Normal View History

2021-03-11 19:13:27 +05:30
import { GROUP_BADGE } from '~/badges/constants';
2018-12-13 13:39:08 +05:30
import dirtySubmitFactory from '~/dirty_submit/dirty_submit_factory';
2021-03-11 19:13:27 +05:30
import initFilePickers from '~/file_pickers';
2022-04-04 11:22:00 +05:30
import initTransferGroupForm from '~/groups/init_transfer_group_form';
2023-04-23 21:23:45 +05:30
import { initGroupSelects } from '~/vue_shared/components/entity_select/init_group_selects';
import { initProjectSelects } from '~/vue_shared/components/entity_select/init_project_selects';
2021-04-29 21:17:54 +05:30
import { initCascadingSettingsLockPopovers } from '~/namespaces/cascading_settings';
2021-03-11 19:13:27 +05:30
import mountBadgeSettings from '~/pages/shared/mount_badge_settings';
2021-04-17 20:07:23 +05:30
import initSearchSettings from '~/search_settings';
2021-03-11 19:13:27 +05:30
import initSettingsPanels from '~/settings_panels';
2021-12-11 22:18:48 +05:30
import initConfirmDanger from '~/init_confirm_danger';
2018-03-17 18:26:18 +05:30
2022-06-21 17:19:12 +05:30
initFilePickers();
initConfirmDanger();
initSettingsPanels();
initTransferGroupForm();
dirtySubmitFactory(
document.querySelectorAll('.js-general-settings-form, .js-general-permissions-form'),
);
mountBadgeSettings(GROUP_BADGE);
2018-12-13 13:39:08 +05:30
2022-06-21 17:19:12 +05:30
// Initialize Subgroups selector
2023-03-17 16:20:25 +05:30
initGroupSelects();
2019-02-15 15:39:39 +05:30
2023-04-23 21:23:45 +05:30
// Initialize project selectors
initProjectSelects();
2020-06-23 00:09:42 +05:30
2022-06-21 17:19:12 +05:30
initSearchSettings();
initCascadingSettingsLockPopovers();