Commit f71c665f authored by Dietmar Maurer's avatar Dietmar Maurer

SecurityGroups: do not send digest for DELETE call

We can only delete empty groups, so that is not necessary.
parent 2c668a94
...@@ -150,8 +150,7 @@ Ext.define('PVE.SecurityGroupList', { ...@@ -150,8 +150,7 @@ Ext.define('PVE.SecurityGroupList', {
return; return;
} }
PVE.Utils.API2Request({ PVE.Utils.API2Request({
url: me.base_url + '/' + rec.data.group + url: me.base_url + '/' + rec.data.group,
'?digest=' + encodeURIComponent(rec.data.digest),
method: 'DELETE', method: 'DELETE',
waitMsgTarget: me, waitMsgTarget: me,
failure: function(response, options) { failure: function(response, options) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment