Fix loader hiding when create new project

This commit is contained in:
Dmitriy Zaporozhets 2012-11-13 12:36:41 +02:00
parent 3c7806c3f2
commit 9d499b86f8
2 changed files with 3 additions and 3 deletions

View file

@ -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();

View file

@ -5,4 +5,4 @@
:plain
$('.project_edit_holder').show();
$(".edit_project").replaceWith("#{escape_javascript(render('form'))}");
$('.ajax_loader').hide();
$('.save-project-loader').hide();