Show More
@@ -684,6 +684,9 b'' | |||||
684 | }; |
|
684 | }; | |
685 |
|
685 | |||
686 | closePullRequest = function (status) { |
|
686 | closePullRequest = function (status) { | |
|
687 | if (!confirm(_gettext('Are you sure to close this pull request without merging?'))) { | |||
|
688 | return false; | |||
|
689 | } | |||
687 | // inject closing flag |
|
690 | // inject closing flag | |
688 | $('.action-buttons-extra').append('<input type="hidden" class="close-pr-input" id="close_pull_request" value="1">'); |
|
691 | $('.action-buttons-extra').append('<input type="hidden" class="close-pr-input" id="close_pull_request" value="1">'); | |
689 | $(generalCommentForm.statusChange).select2("val", status).trigger('change'); |
|
692 | $(generalCommentForm.statusChange).select2("val", status).trigger('change'); |
General Comments 0
You need to be logged in to leave comments.
Login now