Signed-off-by: Thomas Lamprecht <t.lampre...@proxmox.com> --- www/manager6/lxc/Config.js | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/www/manager6/lxc/Config.js b/www/manager6/lxc/Config.js index 60c440bb..a250b7ce 100644 --- a/www/manager6/lxc/Config.js +++ b/www/manager6/lxc/Config.js @@ -62,6 +62,16 @@ Ext.define('PVE.lxc.Config', { }, menu: { items:[{ + text: gettext('Reboot'), + disabled: !caps.vms['VM.PowerMgmt'], + confirmMsg: Proxmox.Utils.format_task_description('vzreboot', vmid), + tooltip: Ext.String.format(gettext('Reboot {0}'), 'CT'), + handler: function() { + vm_command("reboot"); + }, + iconCls: 'fa fa-refresh' + }, + { text: gettext('Stop'), disabled: !caps.vms['VM.PowerMgmt'], confirmMsg: Proxmox.Utils.format_task_description('vzstop', vmid), @@ -71,15 +81,6 @@ Ext.define('PVE.lxc.Config', { vm_command("stop"); }, iconCls: 'fa fa-stop' - },{ - text: gettext('Reboot'), - disabled: !caps.vms['VM.PowerMgmt'], - confirmMsg: Proxmox.Utils.format_task_description('vzreboot', vmid), - tooltip: Ext.String.format(gettext('Reboot {0}'), 'CT'), - handler: function() { - vm_command("reboot"); - }, - iconCls: 'fa fa-refresh' }] }, iconCls: 'fa fa-power-off' -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel