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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
ca35c65b
Commit
ca35c65b
authored
Apr 06, 2018
by
Kamil Trzciński
Committed by
Mayra Cabrera
Apr 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix form javascript
parent
c4f56a88
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
18 deletions
+24
-18
app/assets/javascripts/pages/projects/settings/repository/create_deploy_token/index.js
...projects/settings/repository/create_deploy_token/index.js
+3
-0
app/assets/javascripts/pages/projects/settings/repository/form.js
...ts/javascripts/pages/projects/settings/repository/form.js
+19
-0
app/assets/javascripts/pages/projects/settings/repository/show/index.js
...ascripts/pages/projects/settings/repository/show/index.js
+2
-18
No files found.
app/assets/javascripts/pages/projects/settings/repository/create_deploy_token/index.js
0 → 100644
View file @
ca35c65b
import
initForm
from
'
../form
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
initForm
);
app/assets/javascripts/pages/projects/settings/repository/form.js
0 → 100644
View file @
ca35c65b
/* 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
();
};
app/assets/javascripts/pages/projects/settings/repository/show/index.js
View file @
ca35c65b
/* eslint-disable no-new */
import
initForm
from
'
../form
'
;
import
ProtectedTagCreate
from
'
~/protected_tags/protected_tag_create
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
initForm
);
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
();
});
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