diff options
author | Robert Speicher <robert@gitlab.com> | 2017-04-21 22:55:09 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-04-21 22:55:09 +0000 |
commit | 70387c9536e0fd598d38e9b3e57d437ccd37af1d (patch) | |
tree | a341da2376c5446e27e2583a726fb385e857c08d | |
parent | 61ba808b5b2e50e27d6607a5fdc2bb8f61846923 (diff) | |
parent | ba909fb56da45faf845dedf5e5ab138ce4d98561 (diff) | |
download | gitlab-ce-70387c9536e0fd598d38e9b3e57d437ccd37af1d.tar.gz |
Merge branch 'dm-fix-project-import' into 'master'
Fix Git repository URL field on New Project page
See merge request !10803
-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')); }); |