14 lines
413 B
JavaScript
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
|