summaryrefslogtreecommitdiff
path: root/app/views/projects/merge_requests/branch_from.js.haml
blob: ec4d7f2121be7ac2211f6fbe3773e055e765ea3c (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.val().length == 0) {
    mrTitle.val("#{params[:ref].titleize}");
  }