Remove last extra comma

also whitespace / indent cleanup
This commit is contained in:
Emmanuel Kasper 2016-12-01 14:16:40 +01:00 committed by Dietmar Maurer
parent ff05aec018
commit a979c78da0

View File

@ -119,28 +119,28 @@ Ext.define('PVE.lxc.Options', {
} }
} : undefined } : undefined
}, },
protection: { protection: {
header: gettext('Protection'), header: gettext('Protection'),
defaultValue: false, defaultValue: false,
renderer: PVE.Utils.format_boolean, renderer: PVE.Utils.format_boolean,
editor: caps.vms['VM.Config.Options'] ? { editor: caps.vms['VM.Config.Options'] ? {
xtype: 'pveWindowEdit', xtype: 'pveWindowEdit',
subject: gettext('Protection'), subject: gettext('Protection'),
items: { items: {
xtype: 'pvecheckbox', xtype: 'pvecheckbox',
name: 'protection', name: 'protection',
uncheckedValue: 0, uncheckedValue: 0,
defaultValue: 0, defaultValue: 0,
deleteDefaultValue: true, deleteDefaultValue: true,
fieldLabel: gettext('Enabled') fieldLabel: gettext('Enabled')
} }
} : undefined } : undefined
}, },
unprivileged: { unprivileged: {
header: gettext('Unprivileged container'), header: gettext('Unprivileged container'),
renderer: PVE.Utils.format_boolean, renderer: PVE.Utils.format_boolean,
defaultValue: 0 defaultValue: 0
}, }
}; };
var baseurl = 'nodes/' + nodename + '/lxc/' + vmid + '/config'; var baseurl = 'nodes/' + nodename + '/lxc/' + vmid + '/config';