gitlab-org--gitlab-foss/app/views/projects/merge_requests/update_branches.js.haml

10 lines
228 B
Plaintext

:plain
$(".target_branch").html("#{escape_javascript(options_for_select(@target_branches))}");
$('select.target_branch').select2({
width: 'resolve',
dropdownAutoWidth: true
});
$(".mr_target_commit").html("");