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

10 lines
338 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
- if @project.valid?
:plain
2015-04-26 12:48:37 +05:30
location.href = "#{edit_namespace_project_path(@project.namespace, @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();
2015-09-11 14:41:01 +05:30
$('.project-edit-content .btn-save').enable();