[pve-devel] [PATCH manager 10/10] jslint: fix not reachable return and duplicate property

Dominik Csapak d.csapak at proxmox.com
Fri Apr 29 12:06:35 CEST 2016


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/lxc/SnapshotTree.js | 1 -
 www/manager6/node/Config.js      | 1 -
 2 files changed, 2 deletions(-)

diff --git a/www/manager6/lxc/SnapshotTree.js b/www/manager6/lxc/SnapshotTree.js
index c297083..9ee9f96 100644
--- a/www/manager6/lxc/SnapshotTree.js
+++ b/www/manager6/lxc/SnapshotTree.js
@@ -147,7 +147,6 @@ Ext.define('PVE.lxc.SnapshotTree', {
 	    confirmMsg: function(rec) {
 		return PVE.Utils.format_task_description('vzrollback', me.vmid) +
 		    " '" +  rec.data.name + "'";
-		return msg;
 	    },
 	    handler: function(btn, event) {
 		var rec = sm.getSelection()[0];
diff --git a/www/manager6/node/Config.js b/www/manager6/node/Config.js
index 086beef..0f38796 100644
--- a/www/manager6/node/Config.js
+++ b/www/manager6/node/Config.js
@@ -37,7 +37,6 @@ Ext.define('PVE.node.Config', {
 		items: [
 		    {
 			text: gettext('Start all VMs and Containers'),
-			text: gettext('Start All VMs'),
 			iconCls: 'fa fa-fw fa-play',
 			handler: function() {
 			    var msg = gettext('Start all VMs and Containers') + ' (' + gettext('Node') + " '" + nodename + "')";
-- 
2.1.4





More information about the pve-devel mailing list