summaryrefslogtreecommitdiff
path: root/app/views/projects/merge_requests/branch_from.js.haml
blob: 693c2057a0f8d1514f74775bd80605b2ca3d07c0 (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].titleize.humanize}");
  }