gitlab-org--gitlab-foss/app/views/projects/merge_requests/update_branches.js.haml
2013-08-08 21:26:13 +03:00

5 lines
222 B
Text

:plain
$(".target_branch").html("#{escape_javascript(options_for_select(@target_branches))}");
$(".target_branch").trigger("chosen:updated");
$(".mr_target_commit").html("");
$(".target_branch").trigger("change");