migration: migrated to jquery 3.7
This commit is contained in:
parent
11a5f8c5cd
commit
0a0f79b2c6
38 changed files with 164 additions and 147 deletions
|
|
@ -978,7 +978,7 @@ window.setObserversData = ${c.pull_request_set_observers_data_json | n};
|
|||
// inject closing flag
|
||||
$('.action-buttons-extra').append('<input type="hidden" class="close-pr-input" id="close_pull_request" value="1">');
|
||||
$(generalCommentForm.statusChange).select2("val", status).trigger('change');
|
||||
$(generalCommentForm.submitForm).submit();
|
||||
$(generalCommentForm.submitForm).trigger('submit');
|
||||
};
|
||||
|
||||
//TODO this functionality is now missing
|
||||
|
|
@ -995,7 +995,7 @@ window.setObserversData = ${c.pull_request_set_observers_data_json | n};
|
|||
}
|
||||
});
|
||||
|
||||
$('#merge_pull_request_form').submit(function () {
|
||||
$('#merge_pull_request_form').on('submit', function () {
|
||||
if (!$('#merge_pull_request').attr('disabled')) {
|
||||
$('#merge_pull_request').attr('disabled', 'disabled');
|
||||
}
|
||||
|
|
@ -1038,7 +1038,7 @@ window.setObserversData = ${c.pull_request_set_observers_data_json | n};
|
|||
});
|
||||
|
||||
// fixing issue with caches on firefox
|
||||
$('#update_commits').removeAttr("disabled");
|
||||
$('#update_commits').prop('disabled', false);
|
||||
|
||||
$('.show-inline-comments').on('click', function (e) {
|
||||
var boxid = $(this).attr('data-comment-id');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue