sdn: remove reverts buttons
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
cd4aaa05ce
commit
ab0f934b1e
@ -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: [
|
||||
{
|
||||
|
@ -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: [
|
||||
{
|
||||
|
@ -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: [
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user