mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-06-27 10:24:07 +00:00
apt repos: make add-repo a checked command
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
994fe897b7
commit
0e79ce21c1
@ -438,6 +438,7 @@ Ext.define('Proxmox.node.APTRepositories', {
|
||||
disabled: status !== undefined && status !== null,
|
||||
repoHandle: handle,
|
||||
handler: function(menuItem) {
|
||||
Proxmox.Utils.checked_command(() => {
|
||||
let params = {
|
||||
handle: menuItem.repoHandle,
|
||||
};
|
||||
@ -458,6 +459,7 @@ Ext.define('Proxmox.node.APTRepositories', {
|
||||
me.reload();
|
||||
},
|
||||
});
|
||||
});
|
||||
},
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user