]> git.proxmox.com Git - pmg-gui.git/commitdiff
gui: alow to remove subscription
authorMoayad Almalat <m.almalat@proxmox.com>
Thu, 28 May 2020 08:51:31 +0000 (10:51 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 4 Jun 2020 05:47:57 +0000 (07:47 +0200)
Signed-off-by: Moayad Almalat <m.almalat@proxmox.com>
js/Subscription.js

index 6b3e2fffe53f41d5ac59a493d9460eb2b4b08771..3956d5310d344a4660090d64ace2d12b94de000a 100644 (file)
@@ -159,6 +159,15 @@ Ext.define('PMG.Subscription', {
                        win.on('destroy', reload);
                    }
                },
+               {
+                   text: gettext('Remove Subscription'),
+                   xtype: 'proxmoxStdRemoveButton',
+                   confirmMsg: gettext('Are you sure to remove the subscription key?'),
+                   baseurl: baseurl,
+                   dangerous: true,
+                   selModel: false,
+                   callback: reload,
+               },
                {
                    text: gettext('Check'),
                    handler: function() {