[pve-devel] [PATCH manager 09/10] jslint: fix tab/space mixed intendation

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


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/grid/FirewallRules.js | 2 +-
 www/manager6/lxc/CmdMenu.js        | 2 +-
 www/manager6/lxc/Network.js        | 3 +--
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/www/manager6/grid/FirewallRules.js b/www/manager6/grid/FirewallRules.js
index 887d014..b483c94 100644
--- a/www/manager6/grid/FirewallRules.js
+++ b/www/manager6/grid/FirewallRules.js
@@ -174,7 +174,7 @@ Ext.define('PVE.FirewallRulePanel', {
 			    me.down('field[name=sport]').setDisabled(true);
 			    me.down('field[name=sport]').setValue('');
 			    me.down('field[name=dport]').setDisabled(true);
- 			    me.down('field[name=dport]').setValue('');
+			    me.down('field[name=dport]').setValue('');
                        }
                     }
                 }
diff --git a/www/manager6/lxc/CmdMenu.js b/www/manager6/lxc/CmdMenu.js
index 9e358ed..a96618a 100644
--- a/www/manager6/lxc/CmdMenu.js
+++ b/www/manager6/lxc/CmdMenu.js
@@ -125,7 +125,7 @@ Ext.define('PVE.lxc.CmdMenu', {
 //		text: gettext('Convert to template'),
 //		icon: '/pve2/images/forward.png',
 //		handler: function() {
-//    		    var msg = PVE.Utils.format_task_description('vztemplate', vmid);
+//		    var msg = PVE.Utils.format_task_description('vztemplate', vmid);
 //		    Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
 //			if (btn !== 'yes') {
 //			    return;
diff --git a/www/manager6/lxc/Network.js b/www/manager6/lxc/Network.js
index f6825b2..e2ef38b 100644
--- a/www/manager6/lxc/Network.js
+++ b/www/manager6/lxc/Network.js
@@ -99,8 +99,7 @@ Ext.define('PVE.lxc.NetworkInputPanel', {
 		return true;
 	    }
 	};
-
-    	me.column1 = [
+	me.column1 = [
 	    ifselector,
 	    {
 		xtype: 'textfield',
-- 
2.1.4




More information about the pve-devel mailing list