[pve-devel] [PATCH manager 4/4] fix trailing whitespaces
Dominik Csapak
d.csapak at proxmox.com
Mon Apr 4 14:07:42 CEST 2016
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/lxc/CmdMenu.js | 7 +++----
www/manager6/qemu/CmdMenu.js | 6 +++---
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/www/manager6/lxc/CmdMenu.js b/www/manager6/lxc/CmdMenu.js
index 5f0c428..909fd50 100644
--- a/www/manager6/lxc/CmdMenu.js
+++ b/www/manager6/lxc/CmdMenu.js
@@ -13,7 +13,6 @@ Ext.define('PVE.lxc.CmdMenu', {
if (!vmid) {
throw "no CT ID specified";
}
-
var vmname = me.pveSelNode.data.name;
var vm_command = function(cmd, params) {
@@ -54,7 +53,7 @@ Ext.define('PVE.lxc.CmdMenu', {
vm_command('start');
}
},
- {
+ {
text: gettext('Migrate'),
iconCls: 'fa fa-fw fa-send-o',
handler: function() {
@@ -76,7 +75,7 @@ Ext.define('PVE.lxc.CmdMenu', {
if (btn !== 'yes') {
return;
}
-
+
vm_command('suspend');
});
}
@@ -102,7 +101,7 @@ Ext.define('PVE.lxc.CmdMenu', {
vm_command('shutdown');
});
- }
+ }
},
{
text: gettext('Stop'),
diff --git a/www/manager6/qemu/CmdMenu.js b/www/manager6/qemu/CmdMenu.js
index 79bfe38..ffd5b66 100644
--- a/www/manager6/qemu/CmdMenu.js
+++ b/www/manager6/qemu/CmdMenu.js
@@ -54,7 +54,7 @@ Ext.define('PVE.qemu.CmdMenu', {
vm_command('start');
}
},
- {
+ {
text: gettext('Migrate'),
iconCls: 'fa fa-fw fa-send-o',
handler: function() {
@@ -101,7 +101,7 @@ Ext.define('PVE.qemu.CmdMenu', {
vm_command('shutdown');
});
- }
+ }
},
{
text: gettext('Stop'),
@@ -115,7 +115,7 @@ Ext.define('PVE.qemu.CmdMenu', {
}
vm_command("stop");
- });
+ });
}
},
{
--
2.1.4
More information about the pve-devel
mailing list