[pve-devel] [PATCH manager 3/3] Remove last extra comma

Emmanuel Kasper e.kasper at proxmox.com
Thu Dec 1 14:16:40 CET 2016


also whitespace / indent cleanup
---
 www/manager6/lxc/Options.js | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/www/manager6/lxc/Options.js b/www/manager6/lxc/Options.js
index 7670342..9edcb05 100644
--- a/www/manager6/lxc/Options.js
+++ b/www/manager6/lxc/Options.js
@@ -121,28 +121,28 @@ Ext.define('PVE.lxc.Options', {
 		    }
 		} : undefined
 	    },
-            protection: {
-                header: gettext('Protection'),
-                defaultValue: false,
-                renderer: PVE.Utils.format_boolean,
-                editor: caps.vms['VM.Config.Options'] ? {
-                    xtype: 'pveWindowEdit',
-                    subject: gettext('Protection'),
-                    items: {
-                        xtype: 'pvecheckbox',
-                        name: 'protection',
-                        uncheckedValue: 0,
-                        defaultValue: 0,
-                        deleteDefaultValue: true,
-                        fieldLabel: gettext('Enabled')
-                    }
-                } : undefined
+	    protection: {
+		header: gettext('Protection'),
+		defaultValue: false,
+		renderer: PVE.Utils.format_boolean,
+		editor: caps.vms['VM.Config.Options'] ? {
+		    xtype: 'pveWindowEdit',
+		    subject: gettext('Protection'),
+		    items: {
+			xtype: 'pvecheckbox',
+			name: 'protection',
+			uncheckedValue: 0,
+			defaultValue: 0,
+			deleteDefaultValue: true,
+			fieldLabel: gettext('Enabled')
+		    }
+		} : undefined
 	    },
 	    unprivileged: {
 		header: gettext('Unprivileged container'),
 		renderer: PVE.Utils.format_boolean,
 		defaultValue: 0
-	    },
+	    }
 	};
 
 	var baseurl = 'nodes/' + nodename + '/lxc/' + vmid + '/config';
-- 
2.1.4





More information about the pve-devel mailing list