mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 05:52:32 +00:00
Remove last extra comma
also whitespace / indent cleanup
This commit is contained in:
parent
ff05aec018
commit
a979c78da0
@ -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';
|
||||||
|
Loading…
Reference in New Issue
Block a user