X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=www%2Fmanager6%2Flxc%2FConfig.js;h=1becc687af01b9a726b6a75e0485079a202f593e;hb=8058410f40568d46d323cd6ad3b17c3327789594;hp=9529248dc8b6712040373521d97c22f85fbe48ce;hpb=f6710aac3881d63d8761444c13a0f3643b9e8ba2;p=pve-manager.git diff --git a/www/manager6/lxc/Config.js b/www/manager6/lxc/Config.js index 9529248d..1becc687 100644 --- a/www/manager6/lxc/Config.js +++ b/www/manager6/lxc/Config.js @@ -62,7 +62,7 @@ Ext.define('PVE.lxc.Config', { vm_command('shutdown'); }, menu: { - items:[{ + items: [{ text: gettext('Reboot'), disabled: !caps.vms['VM.PowerMgmt'], confirmMsg: Proxmox.Utils.format_task_description('vzreboot', vmid), @@ -104,7 +104,8 @@ Ext.define('PVE.lxc.Config', { var moreBtn = Ext.create('Proxmox.button.Button', { text: gettext('More'), - menu: { items: [ + menu: { + items: [ { text: gettext('Clone'), iconCls: 'fa fa-fw fa-clone', @@ -156,7 +157,8 @@ Ext.define('PVE.lxc.Config', { }, iconCls: 'fa fa-trash-o', }, - ]}, + ] +}, }); var consoleBtn = Ext.create('PVE.button.ConsoleButton', { @@ -184,7 +186,7 @@ Ext.define('PVE.lxc.Config', { title: Ext.String.format(gettext("Container {0} on node '{1}'"), vm.text, nodename), hstateid: 'lxctab', tbarSpacing: false, - tbar: [ statusTxt, '->', startBtn, shutdownBtn, migrateBtn, consoleBtn, moreBtn ], + tbar: [statusTxt, '->', startBtn, shutdownBtn, migrateBtn, consoleBtn, moreBtn], defaults: { statusStore: me.statusStore }, items: [ {