Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
72d54281
Commit
72d54281
authored
Feb 10, 2021
by
Jannik Lehmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove obsolete DOMContentLoadedEventListener
parent
5e2365f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
18 deletions
+16
-18
app/assets/javascripts/pages/projects/edit/index.js
app/assets/javascripts/pages/projects/edit/index.js
+16
-18
No files found.
app/assets/javascripts/pages/projects/edit/index.js
View file @
72d54281
...
@@ -12,25 +12,23 @@ import initSearchSettings from '~/search_settings';
...
@@ -12,25 +12,23 @@ import initSearchSettings from '~/search_settings';
import
initProjectPermissionsSettings
from
'
../shared/permissions
'
;
import
initProjectPermissionsSettings
from
'
../shared/permissions
'
;
import
initProjectLoadingSpinner
from
'
../shared/save_project_loader
'
;
import
initProjectLoadingSpinner
from
'
../shared/save_project_loader
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
initFilePickers
();
initFilePickers
();
initConfirmDangerModal
();
initConfirmDangerModal
();
initSettingsPanels
();
initSettingsPanels
();
initProjectDeleteButton
();
initProjectDeleteButton
();
mountBadgeSettings
(
PROJECT_BADGE
);
mountBadgeSettings
(
PROJECT_BADGE
);
new
UserCallout
({
className
:
'
js-service-desk-callout
'
});
// eslint-disable-line no-new
new
UserCallout
({
className
:
'
js-service-desk-callout
'
});
// eslint-disable-line no-new
initServiceDesk
();
initServiceDesk
();
initProjectLoadingSpinner
();
initProjectLoadingSpinner
();
initProjectPermissionsSettings
();
initProjectPermissionsSettings
();
setupTransferEdit
(
'
.js-project-transfer-form
'
,
'
select.select2
'
);
setupTransferEdit
(
'
.js-project-transfer-form
'
,
'
select.select2
'
);
dirtySubmitFactory
(
dirtySubmitFactory
(
document
.
querySelectorAll
(
document
.
querySelectorAll
(
'
.js-general-settings-form, .js-mr-settings-form, .js-mr-approvals-form
'
,
'
.js-general-settings-form, .js-mr-settings-form, .js-mr-approvals-form
'
,
),
),
);
);
initSearchSettings
();
initSearchSettings
();
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment