2019-12-26 22:10:19 +05:30
|
|
|
import $ from 'jquery';
|
2018-03-17 18:26:18 +05:30
|
|
|
import BindInOut from '~/behaviors/bind_in_out';
|
2021-03-11 19:13:27 +05:30
|
|
|
import initFilePickers from '~/file_pickers';
|
2018-03-17 18:26:18 +05:30
|
|
|
import Group from '~/group';
|
2019-12-26 22:10:19 +05:30
|
|
|
import GroupPathValidator from './group_path_validator';
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2021-01-29 00:20:46 +05:30
|
|
|
const parentId = $('#group_parent_id');
|
|
|
|
if (!parentId.val()) {
|
|
|
|
new GroupPathValidator(); // eslint-disable-line no-new
|
|
|
|
}
|
|
|
|
BindInOut.initAll();
|
|
|
|
initFilePickers();
|
2020-06-23 00:09:42 +05:30
|
|
|
|
2021-01-29 00:20:46 +05:30
|
|
|
new Group(); // eslint-disable-line no-new
|