branch_from.js.haml 212 Bytes Edit Raw Blame History 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}"); }