branch_from.js.haml 219 Bytes
Newer Older
1
:plain
2
  $(".mr_source_commit").html("#{commit_to_html(@commit, @source_project, false)}");
3 4
  var mrTitle = $('#merge_request_title');

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