[pve-devel] [[PATCH pmg-gui] Close #2664 Button Delete Subscription key 1/1]
Moayad Almalat
m.almalat at proxmox.com
Mon Apr 20 15:37:05 CEST 2020
Signed-off-by: Moayad Almalat <m.almalat at proxmox.com>
---
js/Subscription.js | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/js/Subscription.js b/js/Subscription.js
index 6b3e2ff..9c7f166 100644
--- a/js/Subscription.js
+++ b/js/Subscription.js
@@ -159,6 +159,15 @@ Ext.define('PMG.Subscription', {
win.on('destroy', reload);
}
},
+ {
+ text: gettext('Delete Subscription Key'),
+ xtype: 'proxmoxStdRemoveButton',
+ confirmMsg: 'Are you sure to delete Subscription Key?',
+ getUrl: () => '/api2/extjs' + baseurl,
+ dangerous: true,
+ selModel: false,
+ callback: reload,
+ },
{
text: gettext('Check'),
handler: function() {
--
2.20.1
More information about the pve-devel
mailing list