summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-04-21 15:38:35 -0500
committerDouwe Maan <douwe@selenight.nl>2017-04-21 15:38:35 -0500
commitba909fb56da45faf845dedf5e5ab138ce4d98561 (patch)
treef2f079075509d4766e3535cde8954c82ca338ce6
parent8e156d662b7895ce8777f34882422c3714cc65c7 (diff)
downloadgitlab-ce-ba909fb56da45faf845dedf5e5ab138ce4d98561.tar.gz
Disable import URL field in New project form since it's hidden by default
-rw-r--r--app/views/projects/new.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index 0c7b53e5a9a..9e292729425 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -145,7 +145,8 @@
}
});
+ $('#project_import_url').disable();
$('.import_git').click(function( event ) {
- $projectImportUrl = $('#project_import_url')
- $projectImportUrl.attr('disabled', !$projectImportUrl.attr('disabled'))
+ $projectImportUrl = $('#project_import_url');
+ $projectImportUrl.attr('disabled', !$projectImportUrl.attr('disabled'));
});