[pve-devel] [[PATCH pmg-gui] Close #2664 Button Delete Subscription key 1/1]

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Apr 21 10:02:58 CEST 2020


On 4/20/20 3:37 PM, Moayad Almalat wrote:
> 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,
> +                },
>  		{

see my reply to the PVE one, mainly gui and patch subject apply here:
https://pve.proxmox.com/pipermail/pve-devel/2020-April/043082.html

>  		    text: gettext('Check'),
>  		    handler: function() {
> 





More information about the pve-devel mailing list