Js refactoring and ajax animation replaced

This commit is contained in:
Dmitriy Zaporozhets 2012-03-26 21:41:58 +03:00
parent f1c534c68e
commit 7d56a51bdc
14 changed files with 41 additions and 54 deletions

View file

@ -3,5 +3,6 @@
location.href = "#{edit_project_path(@project, :notice => 'Project was successfully updated.')}";
- else
:plain
$('.project_edit_holder').show();
$(".edit_project").replaceWith("#{escape_javascript(render('form'))}");
$('.ajax_loader').hide();