diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-21 23:38:35 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-04-21 23:38:35 +0300 |
commit | ba909fb56da45faf845dedf5e5ab138ce4d98561 (patch) | |
tree | f2f079075509d4766e3535cde8954c82ca338ce6 | |
parent | 8e156d662b7895ce8777f34882422c3714cc65c7 (diff) |
Disable import URL field in New project form since it's hidden by default
-rw-r--r-- | app/views/projects/new.html.haml | 5 |
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')); }); |