Disable Delete button in SshPanel while SSH keys are deleted
Disable the Delete button in SshPanel after clicking on it and while the delete requests are still being processed. Change-Id: I63eaaaf8cbed2174fbade7f07ec233adb415bf73 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
committed by
Edwin Kempin
parent
882aef2721
commit
0e496f0936
@@ -269,6 +269,7 @@ class SshPanel extends Composite {
|
||||
if (sequenceNumbers.isEmpty()) {
|
||||
updateDeleteButton();
|
||||
} else {
|
||||
deleteKey.setEnabled(false);
|
||||
AccountApi.deleteSshKeys("self", sequenceNumbers,
|
||||
new GerritCallback<VoidResult>() {
|
||||
public void onSuccess(VoidResult result) {
|
||||
|
||||
Reference in New Issue
Block a user