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

17 lines
611 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
import initSettingsPanels from '~/settings_panels';
import setupProjectEdit from '~/project_edit';
2018-05-09 12:01:36 +05:30
import initConfirmDangerModal from '~/confirm_danger_modal';
2018-03-17 18:26:18 +05:30
import ProjectNew from '../shared/project_new';
import projectAvatar from '../shared/project_avatar';
import initProjectPermissionsSettings from '../shared/permissions';
2018-03-27 19:54:05 +05:30
document.addEventListener('DOMContentLoaded', () => {
2018-03-17 18:26:18 +05:30
new ProjectNew(); // eslint-disable-line no-new
setupProjectEdit();
// Initialize expandable settings panels
initSettingsPanels();
projectAvatar();
initProjectPermissionsSettings();
2018-05-09 12:01:36 +05:30
initConfirmDangerModal();
2018-03-27 19:54:05 +05:30
});