Js refactoring and ajax animation replaced
This commit is contained in:
parent
f1c534c68e
commit
7d56a51bdc
14 changed files with 41 additions and 54 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue