Commit graph

6 commits

Author SHA1 Message Date
Nathan Friend
bee3c7e847 Comply with no-implicit-coercion rule (CE)
This commit is the result of running `yarn eslint --fix` after enabling
the `no-implicit-coercion` ESLint rule.  This rule has been added to
our ESLint config here:

https://gitlab.com/gitlab-org/gitlab-eslint-config/merge_requests/14
2019-06-03 22:51:02 +00:00
Mike Greiling
dfb0824346 Prettify all the things (part 7) 2018-10-24 19:17:03 +00:00
Mike Greiling
a8c9cd41d2 Update CreateItemDropdown class to allow the glDropdown filterRemote option 2018-08-06 22:21:39 +00:00
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)