mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-07 22:13:24 +00:00
fix trailing whitespaces
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
ce8dac510e
commit
9bd6cd80de
@ -13,7 +13,6 @@ Ext.define('PVE.lxc.CmdMenu', {
|
|||||||
if (!vmid) {
|
if (!vmid) {
|
||||||
throw "no CT ID specified";
|
throw "no CT ID specified";
|
||||||
}
|
}
|
||||||
|
|
||||||
var vmname = me.pveSelNode.data.name;
|
var vmname = me.pveSelNode.data.name;
|
||||||
|
|
||||||
var vm_command = function(cmd, params) {
|
var vm_command = function(cmd, params) {
|
||||||
@ -54,7 +53,7 @@ Ext.define('PVE.lxc.CmdMenu', {
|
|||||||
vm_command('start');
|
vm_command('start');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: gettext('Migrate'),
|
text: gettext('Migrate'),
|
||||||
iconCls: 'fa fa-fw fa-send-o',
|
iconCls: 'fa fa-fw fa-send-o',
|
||||||
handler: function() {
|
handler: function() {
|
||||||
@ -76,7 +75,7 @@ Ext.define('PVE.lxc.CmdMenu', {
|
|||||||
if (btn !== 'yes') {
|
if (btn !== 'yes') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
vm_command('suspend');
|
vm_command('suspend');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -102,7 +101,7 @@ Ext.define('PVE.lxc.CmdMenu', {
|
|||||||
|
|
||||||
vm_command('shutdown');
|
vm_command('shutdown');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: gettext('Stop'),
|
text: gettext('Stop'),
|
||||||
|
@ -54,7 +54,7 @@ Ext.define('PVE.qemu.CmdMenu', {
|
|||||||
vm_command('start');
|
vm_command('start');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: gettext('Migrate'),
|
text: gettext('Migrate'),
|
||||||
iconCls: 'fa fa-fw fa-send-o',
|
iconCls: 'fa fa-fw fa-send-o',
|
||||||
handler: function() {
|
handler: function() {
|
||||||
@ -101,7 +101,7 @@ Ext.define('PVE.qemu.CmdMenu', {
|
|||||||
|
|
||||||
vm_command('shutdown');
|
vm_command('shutdown');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: gettext('Stop'),
|
text: gettext('Stop'),
|
||||||
@ -115,7 +115,7 @@ Ext.define('PVE.qemu.CmdMenu', {
|
|||||||
}
|
}
|
||||||
|
|
||||||
vm_command("stop");
|
vm_command("stop");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user