Move key forms before list and add cancel button (#17432)
* Move GPG form before list and add cancel button * Move SSH form before list and add cancel button Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@ -288,8 +288,9 @@ export function initGlobalButtons() {
|
||||
$($(this).data('panel')).show();
|
||||
});
|
||||
|
||||
$('.hide-panel.button').on('click', function () {
|
||||
$('.hide-panel.button').on('click', function (event) {
|
||||
$($(this).data('panel')).hide();
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
$('.show-modal.button').on('click', function () {
|
||||
|
Reference in New Issue
Block a user