summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/projects
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-08-11 09:35:06 +0100
committerPhil Hughes <me@iamphill.com>2017-08-11 09:35:06 +0100
commita0d55bd97a6476627a45f5b3f315c785f2823709 (patch)
tree840d3d74897e8bfb8da759ab8efbe8de6eb1c3a6 /app/assets/javascripts/projects
parentfbd226ae48f54415d5ff566848668c2d932fd57a (diff)
downloadgitlab-ce-a0d55bd97a6476627a45f5b3f315c785f2823709.tar.gz
Fixes the correct import modal window not showingimport-project-modal-fix
Closes #36318
Diffstat (limited to 'app/assets/javascripts/projects')
-rw-r--r--app/assets/javascripts/projects/project_new.js2
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', () => {