sdn: remove reverts buttons

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Alexandre Derumier 2020-04-13 08:20:59 +02:00 committed by Thomas Lamprecht
parent cd4aaa05ce
commit ab0f934b1e
3 changed files with 0 additions and 48 deletions

View File

@ -102,22 +102,6 @@ Ext.define('PVE.sdn.ControllerView', {
},
remove_btn,
edit_btn,
{
text: gettext('Revert'),
handler: function() {
Proxmox.Utils.API2Request({
url: '/cluster/sdn/controllers/',
method: 'DELETE',
waitMsgTarget: me,
callback: function() {
reload();
},
failure: function(response, opts) {
Ext.Msg.alert(gettext('Error'), response.htmlStatus);
}
});
}
},
],
columns: [
{

View File

@ -67,22 +67,6 @@ Ext.define('PVE.sdn.VnetView', {
},
remove_btn,
edit_btn,
{
text: gettext('Revert'),
handler: function() {
Proxmox.Utils.API2Request({
url: '/cluster/sdn/vnets/',
method: 'DELETE',
waitMsgTarget: me,
callback: function() {
reload();
},
failure: function(response, opts) {
Ext.Msg.alert(gettext('Error'), response.htmlStatus);
}
});
}
},
],
columns: [
{

View File

@ -103,22 +103,6 @@ Ext.define('PVE.sdn.ZoneView', {
},
remove_btn,
edit_btn,
{
text: gettext('Revert'),
handler: function() {
Proxmox.Utils.API2Request({
url: '/cluster/sdn/zones/',
method: 'DELETE',
waitMsgTarget: me,
callback: function() {
reload();
},
failure: function(response, opts) {
Ext.Msg.alert(gettext('Error'), response.htmlStatus);
}
});
}
},
],
columns: [
{