2012-07-05 18:59:37 +00:00
|
|
|
- if @project.saved?
|
2011-10-08 21:36:38 +00:00
|
|
|
:plain
|
2012-11-21 12:21:12 +00:00
|
|
|
location.href = "#{project_path(@project)}";
|
2011-10-08 21:36:38 +00:00
|
|
|
- else
|
|
|
|
:plain
|
2013-05-14 09:46:41 +00:00
|
|
|
$(".project-edit-errors").html("#{escape_javascript(render('errors'))}");
|
2013-07-30 12:05:24 +00:00
|
|
|
$('.project-submit').enable();
|
2012-11-13 10:36:41 +00:00
|
|
|
$('.save-project-loader').hide();
|
2013-05-14 09:46:41 +00:00
|
|
|
$('.project-edit-container').show();
|