##// END OF EJS Templates
draft: fixed logic in toggle all draft for submit.
milka -
r4682:a7b110e0 stable
parent child Browse files
Show More
@@ -560,7 +560,7 b''
560 560
561 561 <div class="right-sidebar-expanded-state pr-details-title">
562 562 <span style="padding-left: 2px">
563 <input name="select_all_drafts" type="checkbox" onclick="$('[name=submit_draft]').prop('checked', !$('[name=submit_draft]').prop('checked'))">
563 <input name="select_all_drafts" type="checkbox" onclick="selectDraftComments(event)">
564 564 </span>
565 565 <span class="sidebar-heading noselect" onclick="refreshDraftComments(); return false">
566 566 <i class="icon-comment icon-draft"></i>
@@ -942,6 +942,11 b' window.setObserversData = ${c.pull_reque'
942 942 }
943 943 }
944 944
945 window.selectDraftComments = function (event) {
946 var $target = $(event.currentTarget);
947 $('[name=submit_draft]').prop('checked', $target.prop('checked'))
948 }
949
945 950 window.closePullRequest = function (status) {
946 951 if (!confirm(_gettext('Are you sure to close this pull request without merging?'))) {
947 952 return false;
General Comments 1
Under Review
author

Auto status change to "Under Review"

You need to be logged in to leave comments. Login now