gitlab-org--gitlab-foss/app/views/projects/create.js.haml
Dmitriy Zaporozhets 6cbadc953f
css class .hide has \!important so use gl-hide instead
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-31 00:38:53 +02:00

9 lines
290 B
Text

- if @project.saved?
:plain
location.href = "#{project_path(@project)}";
- else
:plain
$(".project-edit-errors").html("#{escape_javascript(render('errors'))}");
$('.project-submit').enable();
$('.save-project-loader').gl-hide();
$('.project-edit-container').show();