2018-03-17 18:26:18 +05:30
|
|
|
/* eslint-disable no-new */
|
2018-05-09 12:01:36 +05:30
|
|
|
|
|
|
|
import $ from 'jquery';
|
2019-07-07 11:18:12 +05:30
|
|
|
import IssuableForm from 'ee_else_ce/issuable_form';
|
2021-03-11 19:13:27 +05:30
|
|
|
import ShortcutsNavigation from '~/behaviors/shortcuts/shortcuts_navigation';
|
2020-01-01 13:55:28 +05:30
|
|
|
import GLForm from '~/gl_form';
|
2021-03-11 19:13:27 +05:30
|
|
|
import initSuggestions from '~/issuable_suggestions';
|
2021-04-29 21:17:54 +05:30
|
|
|
import initIssuableTypeSelector from '~/issuable_type_selector';
|
2018-03-17 18:26:18 +05:30
|
|
|
import LabelsSelect from '~/labels_select';
|
|
|
|
import MilestoneSelect from '~/milestone_select';
|
|
|
|
import IssuableTemplateSelectors from '~/templates/issuable_template_selectors';
|
|
|
|
|
|
|
|
export default () => {
|
|
|
|
new ShortcutsNavigation();
|
2018-11-08 19:23:39 +05:30
|
|
|
new GLForm($('.issue-form'));
|
2018-03-17 18:26:18 +05:30
|
|
|
new IssuableForm($('.issue-form'));
|
|
|
|
new LabelsSelect();
|
|
|
|
new MilestoneSelect();
|
2019-12-21 20:55:43 +05:30
|
|
|
new IssuableTemplateSelectors({
|
|
|
|
warnTemplateOverride: true,
|
|
|
|
});
|
2019-02-15 15:39:39 +05:30
|
|
|
|
2019-09-30 21:07:59 +05:30
|
|
|
initSuggestions();
|
2021-04-29 21:17:54 +05:30
|
|
|
initIssuableTypeSelector();
|
2018-03-17 18:26:18 +05:30
|
|
|
};
|