Show More
@@ -167,6 +167,8 b' def get_diff_info(' | |||||
167 | author=commit.author, |
|
167 | author=commit.author, | |
168 | date=commit.date, |
|
168 | date=commit.date, | |
169 | message=commit.message, |
|
169 | message=commit.message, | |
|
170 | commit_id=commit.raw_id, | |||
|
171 | raw_id=commit.raw_id | |||
170 | ) |
|
172 | ) | |
171 | commits.append(serialized_commit) |
|
173 | commits.append(serialized_commit) | |
172 | user = User.get_from_cs_author(serialized_commit['author']) |
|
174 | user = User.get_from_cs_author(serialized_commit['author']) |
@@ -303,7 +303,7 b'' | |||||
303 |
|
303 | |||
304 | var originalOption = data.element; |
|
304 | var originalOption = data.element; | |
305 | return prefix + escapeMarkup(data.text); |
|
305 | return prefix + escapeMarkup(data.text); | |
306 | };formatSelection: |
|
306 | }; | |
307 |
|
307 | |||
308 | // custom code mirror |
|
308 | // custom code mirror | |
309 | var codeMirrorInstance = $('#pullrequest_desc').get(0).MarkupForm.cm; |
|
309 | var codeMirrorInstance = $('#pullrequest_desc').get(0).MarkupForm.cm; | |
@@ -362,8 +362,10 b'' | |||||
362 | var msg = '<input id="common_ancestor" type="hidden" name="common_ancestor" value="{0}">'.format(commonAncestorId); |
|
362 | var msg = '<input id="common_ancestor" type="hidden" name="common_ancestor" value="{0}">'.format(commonAncestorId); | |
363 | msg += '<input type="hidden" name="__start__" value="revisions:sequence">' |
|
363 | msg += '<input type="hidden" name="__start__" value="revisions:sequence">' | |
364 |
|
364 | |||
|
365 | ||||
365 | $.each(commitElements, function(idx, value) { |
|
366 | $.each(commitElements, function(idx, value) { | |
366 | msg += '<input type="hidden" name="revisions" value="{0}">'.format(value["raw_id"]); |
|
367 | var commit_id = value["commit_id"] | |
|
368 | msg += '<input type="hidden" name="revisions" value="{0}">'.format(commit_id); | |||
367 | }); |
|
369 | }); | |
368 |
|
370 | |||
369 | msg += '<input type="hidden" name="__end__" value="revisions:sequence">' |
|
371 | msg += '<input type="hidden" name="__end__" value="revisions:sequence">' |
General Comments 0
You need to be logged in to leave comments.
Login now