summaryrefslogtreecommitdiff
path: root/app/views/projects/merge_requests/branch_from.js.haml
blob: 1b1082baafeaf8202cfedf22f169cf5a491a267d (plain)
1
2
3
4
5
6
7
:plain
  $(".mr_source_commit").html("#{commit_to_html(@commit, @source_project, false)}");
  var mrTitle = $('#merge_request_title');

  if(mrTitle.val().length == 0) {
    mrTitle.val("#{params[:ref].humanize}");
  }