Commit 9d499b86 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix loader hiding when create new project

parent 3c7806c3
......@@ -4,8 +4,8 @@
- else
- if @project.git_error?
location.href = "#{errors_githost_path}";
-else
-else
:plain
$('.project_new_holder').show();
$("#new_project").replaceWith("#{escape_javascript(render('new_form'))}");
$('.ajax_loader').hide();
$('.save-project-loader').hide();
......@@ -5,4 +5,4 @@
:plain
$('.project_edit_holder').show();
$(".edit_project").replaceWith("#{escape_javascript(render('form'))}");
$('.ajax_loader').hide();
$('.save-project-loader').hide();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment