ask for confirmation before hot-applying network changes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-11-26 12:06:05 +01:00
parent 21cd6c09e2
commit 2877ddea0b

View File

@ -127,6 +127,7 @@ Ext.define('Proxmox.node.NetworkView', {
text: gettext('Apply Configuration'), text: gettext('Apply Configuration'),
itemId: 'apply', itemId: 'apply',
disabled: true, disabled: true,
confirmMsg: 'Do you want to apply pending network changes?',
hidden: !me.showApplyBtn, hidden: !me.showApplyBtn,
handler: function() { handler: function() {
Proxmox.Utils.API2Request({ Proxmox.Utils.API2Request({