diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-13 14:36:41 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-11-13 14:36:41 +0400 |
commit | 9d499b86f8fdb41d2e1cd202989abe67ab88ace7 (patch) | |
tree | 9f47b89b8dc492f6b7c835b9df499fcf9d6cf496 /app/views/projects | |
parent | 3c7806c3f29e0c2cdbb0c973a9180296267815cb (diff) |
Fix loader hiding when create new project
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/create.js.haml | 4 | ||||
-rw-r--r-- | app/views/projects/update.js.haml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/create.js.haml b/app/views/projects/create.js.haml index 2f6264a15af..e86845656f9 100644 --- a/app/views/projects/create.js.haml +++ b/app/views/projects/create.js.haml @@ -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(); diff --git a/app/views/projects/update.js.haml b/app/views/projects/update.js.haml index a961dc39791..8aaa0e491dd 100644 --- a/app/views/projects/update.js.haml +++ b/app/views/projects/update.js.haml @@ -5,4 +5,4 @@ :plain $('.project_edit_holder').show(); $(".edit_project").replaceWith("#{escape_javascript(render('form'))}"); - $('.ajax_loader').hide(); + $('.save-project-loader').hide(); |