2014-09-02 18:07:02 +05:30
|
|
|
- if @project.valid?
|
|
|
|
:plain
|
2018-11-20 20:47:30 +05:30
|
|
|
location.href = "#{edit_project_path(@project, anchor: params[:update_section])}";
|
|
|
|
location.reload();
|
2014-09-02 18:07:02 +05:30
|
|
|
- else
|
|
|
|
:plain
|
|
|
|
$(".project-edit-errors").html("#{escape_javascript(render('errors'))}");
|
|
|
|
$('.save-project-loader').hide();
|
|
|
|
$('.project-edit-container').show();
|
2018-03-27 19:54:05 +05:30
|
|
|
$('.edit-project .js-btn-save-general-project-settings').enable();
|