Fix form javascript
This commit is contained in:
parent
c4f56a8802
commit
ca35c65b02
4 changed files with 25 additions and 19 deletions
|
@ -0,0 +1,3 @@
|
|||
import initForm from '../form';
|
||||
|
||||
document.addEventListener('DOMContentLoaded', initForm);
|
|
@ -0,0 +1,19 @@
|
|||
/* eslint-disable no-new */
|
||||
|
||||
import ProtectedTagCreate from '~/protected_tags/protected_tag_create';
|
||||
import ProtectedTagEditList from '~/protected_tags/protected_tag_edit_list';
|
||||
import initSettingsPanels from '~/settings_panels';
|
||||
import initDeployKeys from '~/deploy_keys';
|
||||
import ProtectedBranchCreate from '~/protected_branches/protected_branch_create';
|
||||
import ProtectedBranchEditList from '~/protected_branches/protected_branch_edit_list';
|
||||
import DueDateSelectors from '~/due_date_select';
|
||||
|
||||
export default () => {
|
||||
new ProtectedTagCreate();
|
||||
new ProtectedTagEditList();
|
||||
initDeployKeys();
|
||||
initSettingsPanels();
|
||||
new ProtectedBranchCreate(); // eslint-disable-line no-new
|
||||
new ProtectedBranchEditList(); // eslint-disable-line no-new
|
||||
new DueDateSelectors();
|
||||
};
|
|
@ -1,19 +1,3 @@
|
|||
/* eslint-disable no-new */
|
||||
import initForm from '../form';
|
||||
|
||||
import ProtectedTagCreate from '~/protected_tags/protected_tag_create';
|
||||
import ProtectedTagEditList from '~/protected_tags/protected_tag_edit_list';
|
||||
import initSettingsPanels from '~/settings_panels';
|
||||
import initDeployKeys from '~/deploy_keys';
|
||||
import ProtectedBranchCreate from '~/protected_branches/protected_branch_create';
|
||||
import ProtectedBranchEditList from '~/protected_branches/protected_branch_edit_list';
|
||||
import DueDateSelectors from '~/due_date_select';
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
new ProtectedTagCreate();
|
||||
new ProtectedTagEditList();
|
||||
initDeployKeys();
|
||||
initSettingsPanels();
|
||||
new ProtectedBranchCreate(); // eslint-disable-line no-new
|
||||
new ProtectedBranchEditList(); // eslint-disable-line no-new
|
||||
new DueDateSelectors();
|
||||
});
|
||||
document.addEventListener('DOMContentLoaded', initForm);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Deploy Tokens
|
||||
# Deploy Tokens
|
||||
|
||||
> [Introduced][ce-17894] in GitLab 10.7.
|
||||
|
||||
|
|
Loading…
Reference in a new issue