Merge branch 'fix/js-error-ssh-key-view' into 'master'
fix(profile): disable SSH key validation in key details view See merge request gitlab-org/gitlab-ce!28180
This commit is contained in:
commit
5609523a6b
|
@ -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');
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: disable SSH key validation in key details view
|
||||
merge_request: 28180
|
||||
author: Roger Meier
|
||||
type: fixed
|
Loading…
Reference in New Issue