debian-mirror-gitlab/app/assets/javascripts/pages/groups/new/index.js
2021-01-30 21:13:34 +05:30

14 lines
413 B
JavaScript

import $ from 'jquery';
import BindInOut from '~/behaviors/bind_in_out';
import Group from '~/group';
import GroupPathValidator from './group_path_validator';
import initFilePickers from '~/file_pickers';
const parentId = $('#group_parent_id');
if (!parentId.val()) {
new GroupPathValidator(); // eslint-disable-line no-new
}
BindInOut.initAll();
initFilePickers();
new Group(); // eslint-disable-line no-new