diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-08-11 19:16:08 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-08-11 19:16:08 +0000 |
commit | 3254ad4d5a4c8114d0580b64aafeb24bd8abf926 (patch) | |
tree | bdf92e177d325dc18ee9c167248abcd698811bfc | |
parent | 455dc74e65e7461c1a51bf3ea6594fe20b9df90c (diff) | |
parent | a0d55bd97a6476627a45f5b3f315c785f2823709 (diff) | |
download | gitlab-ce-3254ad4d5a4c8114d0580b64aafeb24bd8abf926.tar.gz |
Merge branch 'import-project-modal-fix' into 'master'docs-group-milestones
Fixes the correct import modal window not showing
Closes #36318
See merge request !13490
-rw-r--r-- | app/assets/javascripts/projects/project_new.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/projects/project_new.js b/app/assets/javascripts/projects/project_new.js index 985521aef34..7f972b6f6ee 100644 --- a/app/assets/javascripts/projects/project_new.js +++ b/app/assets/javascripts/projects/project_new.js @@ -36,7 +36,7 @@ const bindEvents = () => { $('.how_to_import_link').on('click', (e) => { e.preventDefault(); - $('.how_to_import_link').next('.modal').show(); + $(e.currentTarget).next('.modal').show(); }); $('.modal-header .close').on('click', () => { |