debian-mirror-gitlab/app/views/projects/merge_requests/update_branches.js.haml

10 lines
228 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
:plain
$(".target_branch").html("#{escape_javascript(options_for_select(@target_branches))}");
$('select.target_branch').select2({
width: 'resolve',
dropdownAutoWidth: true
});
$(".mr_target_commit").html("");