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:
parent
54243eed8d
commit
f46e67b519
4 changed files with 80 additions and 89 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue