diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-28 15:15:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-28 15:15:45 +0300 |
commit | 4eac7e06bd6fc1c90a20ae36412b34ac73a15cb2 (patch) | |
tree | afdfb135529e08b27836df901a9ea7a6e9227507 /app/assets/javascripts/projects | |
parent | 3d100bb7e6a44443b6cbaa94a55755fcd0121266 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/projects')
-rw-r--r-- | app/assets/javascripts/projects/project_new.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/projects/project_new.js b/app/assets/javascripts/projects/project_new.js index 13a4988d725..f1b7e3df7d6 100644 --- a/app/assets/javascripts/projects/project_new.js +++ b/app/assets/javascripts/projects/project_new.js @@ -144,8 +144,8 @@ const bindEvents = () => { bindHowToImport(); - $('.btn_import_gitlab_project').on('click', () => { - const importHref = $('a.btn_import_gitlab_project').attr('href'); + $('.btn_import_gitlab_project').on('click contextmenu', () => { + const importHref = $('a.btn_import_gitlab_project').attr('data-href'); $('.btn_import_gitlab_project').attr( 'href', `${importHref}?namespace_id=${$( |