Merge branch '43201-rename-repository-submit-button-disabled' into 'master'
Resolve "Renaming repository (project[name]) fails on 2nd try if the validation has failed" Closes #43201 See merge request gitlab-org/gitlab-ce!17150
This commit is contained in:
commit
4342e3915c
3 changed files with 7 additions and 2 deletions
|
@ -58,7 +58,7 @@
|
|||
- if @project.avatar?
|
||||
%hr
|
||||
= link_to _('Remove avatar'), project_avatar_path(@project), data: { confirm: _("Avatar will be removed. Are you sure?") }, method: :delete, class: "btn btn-danger btn-inverted"
|
||||
= f.submit 'Save changes', class: "btn btn-success"
|
||||
= f.submit 'Save changes', class: "btn btn-success js-btn-save-general-project-settings"
|
||||
|
||||
%section.settings.sharing-permissions.no-animate{ class: ('expanded' if expanded) }
|
||||
.settings-header
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
$(".project-edit-errors").html("#{escape_javascript(render('errors'))}");
|
||||
$('.save-project-loader').hide();
|
||||
$('.project-edit-container').show();
|
||||
$('.edit-project .btn-save').enable();
|
||||
$('.edit-project .js-btn-save-general-project-settings').enable();
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Allows project rename after validation error
|
||||
merge_request: 17150
|
||||
author:
|
||||
type: fixed
|
Loading…
Reference in a new issue