Commit 09f9e1a2 authored by Mike Greiling's avatar Mike Greiling

fix mirror repoistory section expansion

parent 27dbcc30
- expanded = Rails.env.test?
- protocols = Gitlab::UrlSanitizer::ALLOWED_SCHEMES.join('|')
%section.settings.project-mirror-settings.js-mirror-settings.no-animate#js-mirror-settings{ class: ('expanded' if expanded) }
%section.settings.project-mirror-settings.js-mirror-settings.no-animate#js-push-remote-settings{ class: ('expanded' if expanded) }
.settings-header
%h4= _('Mirroring repositories')
%button.btn.js-settings-toggle
......
......@@ -59,7 +59,7 @@ module EE
flash[:notice] = "The repository is being updated..."
end
redirect_to_repository_settings(project, anchor: 'js-mirror-settings')
redirect_to_repository_settings(project, anchor: 'js-push-remote-settings')
end
def mirror_params_attributes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment