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