Commit graph

3 commits

Author SHA1 Message Date
Eric Eastwood
5a22b588d0 Add createNewItemFromValue option and clearDropdown method
Part of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4110
2018-01-30 04:29:02 -06:00
Eric Eastwood
ea04d1ab3a Fix duplicate item in protected branch/tag dropdown
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/42157
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/41989
2018-01-18 23:04:50 -06:00
Eric Eastwood
b63686ce6a Generalize protected branch/tag dropdowns
Remove duplicate ee code

This was generalized for usage in the new variable table design, see
https://gitlab.com/gitlab-org/gitlab-ce/issues/39118#note_53615249

Conflicts:
	app/assets/stylesheets/pages/projects.scss
	ee/app/assets/javascripts/protected_branches/protected_branch_create.js
	ee/app/assets/javascripts/protected_tags/protected_tag_create.js
	ee/app/views/projects/protected_branches/ee/_dropdown.html.haml
2018-01-12 01:46:45 -06:00
Renamed from app/assets/javascripts/protected_tags/protected_tag_dropdown.js (Browse further)