debian-mirror-gitlab/app/assets/javascripts/pages/projects/issues/form.js

22 lines
675 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
/* eslint-disable no-new */
2018-05-09 12:01:36 +05:30
import $ from 'jquery';
2018-03-17 18:26:18 +05:30
import GLForm from '~/gl_form';
2019-07-07 11:18:12 +05:30
import IssuableForm from 'ee_else_ce/issuable_form';
2018-03-17 18:26:18 +05:30
import LabelsSelect from '~/labels_select';
import MilestoneSelect from '~/milestone_select';
2018-12-05 23:21:45 +05:30
import ShortcutsNavigation from '~/behaviors/shortcuts/shortcuts_navigation';
2018-03-17 18:26:18 +05:30
import IssuableTemplateSelectors from '~/templates/issuable_template_selectors';
2019-02-15 15:39:39 +05:30
import initSuggestions from '~/issuable_suggestions';
2018-03-17 18:26:18 +05:30
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();
new IssuableTemplateSelectors();
2019-02-15 15:39:39 +05:30
2019-09-30 21:07:59 +05:30
initSuggestions();
2018-03-17 18:26:18 +05:30
};