Fix loader hiding when create new project
This commit is contained in:
parent
3c7806c3f2
commit
9d499b86f8
2 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue