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 <[email protected]> Co-authored-by: wxiaoguang <[email protected]>
This commit is contained in:
co-authored by
Lunny Xiao
wxiaoguang
parent
54243eed8d
commit
f46e67b519
@@ -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