gitlab-org--gitlab-foss/app/views/projects/merge_requests/branch_from.js.haml

8 lines
212 B
Text
Raw Normal View History

:plain
$(".mr_source_commit").html("#{commit_to_html(@commit, @source_project)}");
2013-07-29 14:17:46 -04:00
var mrTitle = $('#merge_request_title');
2013-08-08 09:14:38 -04:00
if(mrTitle.val().length == 0) {
2013-07-29 14:17:46 -04:00
mrTitle.val("#{params[:ref].titleize}");
}