Welcome to mirror list, hosted at ThFree Co, Russian Federation.

transfer.js.haml « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 10b0de98c041494e71a612aa79396214566b29f9 (plain)
1
2
3
4
5
6
7
- if @project.errors[:namespace_id].present?
  :plain
    $("#tab-transfer .errors-holder").replaceWith(errorMessage('#{escape_javascript(@project.errors[:namespace_id].first)}'));
    $("#tab-transfer .form-actions input").removeAttr('disabled').removeClass('disabled');
- else
  :plain
    location.href = "#{edit_project_path(@project)}";