mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-22 01:27:48 +08:00
Move add deploy key form before the list and add a cancel button (#17228)
This commit is contained in:
@ -2750,6 +2750,9 @@ $(document).ready(async () => {
|
||||
$('.show-panel.button').on('click', function () {
|
||||
$($(this).data('panel')).show();
|
||||
});
|
||||
$('.hide-panel.button').on('click', function () {
|
||||
$($(this).data('panel')).hide();
|
||||
});
|
||||
$('.show-create-branch-modal.button').on('click', function () {
|
||||
$('#create-branch-form')[0].action = $('#create-branch-form').data('base-action') + $(this).data('branch-from');
|
||||
$('#modal-create-branch-from-span').text($(this).data('branch-from'));
|
||||
|
Reference in New Issue
Block a user