debian-mirror-gitlab/app/views/projects/update.js.haml

10 lines
300 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
- if @project.valid?
:plain
2017-09-10 17:25:29 +05:30
location.href = "#{edit_project_path(@project)}";
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();
2016-09-13 17:45:13 +05:30
$('.edit-project .btn-save').enable();