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
fc255486
Commit
fc255486
authored
May 07, 2019
by
Roger Meier
Committed by
Clement Ho
May 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(profile): disable SSH key validation in key details view
parent
c4fcac06
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
app/assets/javascripts/pages/profiles/keys/index.js
app/assets/javascripts/pages/profiles/keys/index.js
+2
-0
changelogs/unreleased/fix-js-error-ssh-key-view.yml
changelogs/unreleased/fix-js-error-ssh-key-view.yml
+5
-0
No files found.
app/assets/javascripts/pages/profiles/keys/index.js
View file @
fc255486
...
...
@@ -2,6 +2,8 @@ import AddSshKeyValidation from '~/profile/add_ssh_key_validation';
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
const
input
=
document
.
querySelector
(
'
.js-add-ssh-key-validation-input
'
);
if
(
!
input
)
return
;
const
warning
=
document
.
querySelector
(
'
.js-add-ssh-key-validation-warning
'
);
const
originalSubmit
=
input
.
form
.
querySelector
(
'
.js-add-ssh-key-validation-original-submit
'
);
const
confirmSubmit
=
warning
.
querySelector
(
'
.js-add-ssh-key-validation-confirm-submit
'
);
...
...
changelogs/unreleased/fix-js-error-ssh-key-view.yml
0 → 100644
View file @
fc255486
---
title
:
disable SSH key validation in key details view
merge_request
:
28180
author
:
Roger Meier
type
:
fixed
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