BigW Consortium Gitlab

update.js.haml 252 Bytes
Newer Older
gitlabhq committed
1 2
- if @project.valid?
  :plain
3
    location.href = "#{edit_project_path(@project)}";
gitlabhq committed
4 5
- else
  :plain
6
    $('.project_edit_holder').show();
gitlabhq committed
7
    $(".edit_project").replaceWith("#{escape_javascript(render('form'))}");
8
    $('.save-project-loader').hide();