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

  if(mrTitle.is(":empty")) {
    mrTitle.val("#{params[:ref].titleize}");
  }