diff options
author | James Lopez <james@jameslopez.es> | 2016-07-14 16:14:30 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-07-14 16:14:30 +0200 |
commit | 001c9aa3137e6648fe3994eca4237f9283d0ee6e (patch) | |
tree | f95ae114bbbfaafe05fa9786ee7e7de9cba32e02 /app | |
parent | e2d6521d97289a6e3fbccf6948fe44dcb587a8d4 (diff) | |
download | gitlab-ce-001c9aa3137e6648fe3994eca4237f9283d0ee6e.tar.gz |
udpated JS based on feedbackfix/persistent-import-data
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/new.html.haml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml index 37f559c1bed..c72d0140bb9 100644 --- a/app/views/projects/new.html.haml +++ b/app/views/projects/new.html.haml @@ -157,9 +157,6 @@ }); $('.import_git').click(function( event ) { - if($('#project_import_url').attr('disabled')) { - $('#project_import_url').attr('disabled', false); - } else { - $('#project_import_url').attr('disabled', true); - } + $projectImportUrl = $('#project_import_url') + $projectImportUrl.attr('disabled', !$projectImportUrl.attr('disabled')) });
\ No newline at end of file |