diff options
author | Valery Sizov <valery@gitlab.com> | 2015-02-05 10:31:36 -0800 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-02-05 17:03:43 -0800 |
commit | 1ac20698a5122111c8e12de4cc59da837b0f9573 (patch) | |
tree | 67442cc67cf4d7aa4f3e0c66d11d4728eb4fa8ca /app/views/projects/new.html.haml | |
parent | 2d5765bd2ca9b7ce3e4251cb082cbc8c52e51996 (diff) | |
download | gitlab-ce-1ac20698a5122111c8e12de4cc59da837b0f9573.tar.gz |
gitlab.com importer: refactorig
Diffstat (limited to 'app/views/projects/new.html.haml')
-rw-r--r-- | app/views/projects/new.html.haml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml index 713370e3bfe..61f6a66c386 100644 --- a/app/views/projects/new.html.haml +++ b/app/views/projects/new.html.haml @@ -92,3 +92,11 @@ %i.fa.fa-spinner.fa-spin Creating project & repository. %p Please wait a moment, this page will automatically refresh when ready. + +:coffeescript + $ -> + $('.how_to_import_link').bind 'click', (e) -> + e.preventDefault() + import_modal = $(this).parent().find(".modal").show() + $('.modal-header .close').bind 'click', -> + $(".modal").hide()
\ No newline at end of file |