debian-mirror-gitlab/app/views/projects/merge_requests/update_branches.js.haml
2014-09-02 14:37:02 +02:00

9 lines
228 B
Text

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