summaryrefslogtreecommitdiff
path: root/app/views/projects/merge_requests/update_branches.js.haml
blob: ca21b3bc0deb365c4db2f3ecc72576c80cd5e4e4 (plain)
1
2
3
4
5
6
7
8
9
:plain
  $(".target_branch").html("#{escape_javascript(options_for_select(@target_branches))}");

  $('select.target_branch').select2({
    width: 'resolve',
    dropdownAutoWidth: true
  });

  $(".mr_target_commit").html("");