diff options
author | Phil Hughes <me@iamphill.com> | 2016-10-11 18:10:12 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-10-11 18:10:12 +0300 |
commit | 66af08df281214f59bb21e911949625024b41829 (patch) | |
tree | 4dd6b6992a5e733cf13e919cc2b25e8d9c1ead2b /app/assets/javascripts | |
parent | df3ad3fe1bd8bd94ff81a344af5eb79a018d7729 (diff) |
Fixed default branch dropdown not converting to select2
Closes #23200
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/project_new.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/javascripts/project_new.js b/app/assets/javascripts/project_new.js index a787b11f2a9..3cf41505814 100644 --- a/app/assets/javascripts/project_new.js +++ b/app/assets/javascripts/project_new.js @@ -4,7 +4,9 @@ this.ProjectNew = (function() { function ProjectNew() { this.toggleSettings = bind(this.toggleSettings, this); - this.$selects = $('.features select'); + this.$selects = $('.features select').filter(function () { + return $(this).data('field'); + }); $('.project-edit-container').on('ajax:before', (function(_this) { return function() { |