Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-04-22 01:55:09 +0300
committerRobert Speicher <robert@gitlab.com>2017-04-22 01:55:09 +0300
commit70387c9536e0fd598d38e9b3e57d437ccd37af1d (patch)
treea341da2376c5446e27e2583a726fb385e857c08d
parent61ba808b5b2e50e27d6607a5fdc2bb8f61846923 (diff)
parentba909fb56da45faf845dedf5e5ab138ce4d98561 (diff)
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.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'));
});