vm_command('shutdown');
},
menu: {
- items:[{
+ items: [{
text: gettext('Reboot'),
disabled: !caps.vms['VM.PowerMgmt'],
confirmMsg: Proxmox.Utils.format_task_description('vzreboot', vmid),
var moreBtn = Ext.create('Proxmox.button.Button', {
text: gettext('More'),
- menu: { items: [
+ menu: {
+ items: [
{
text: gettext('Clone'),
iconCls: 'fa fa-fw fa-clone',
},
iconCls: 'fa fa-trash-o',
},
- ]},
+ ]
+},
});
var consoleBtn = Ext.create('PVE.button.ConsoleButton', {
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: [
{