mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-08 16:18:16 +00:00
ui: datastore options: use new onSetValues over setValues
The `onSetValues` (pedant to `onGetValues`) got added relatively recently to widget toolkits input panel. Using it avoids the need to hard-code some "dynamic override" calling semantics. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
85f1419313
commit
8f373d0718
@ -182,10 +182,7 @@ Ext.define('PBS.Datastore.Options', {
|
|||||||
}
|
}
|
||||||
return { tuning };
|
return { tuning };
|
||||||
},
|
},
|
||||||
setValues: function(values) {
|
onSetValues: values => PBS.Utils.parsePropertyString(values?.tuning),
|
||||||
values = PBS.Utils.parsePropertyString(values?.tuning);
|
|
||||||
return Proxmox.panel.InputPanel.prototype.setValues.call(this, values);
|
|
||||||
},
|
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
xtype: 'proxmoxKVComboBox',
|
xtype: 'proxmoxKVComboBox',
|
||||||
|
Loading…
Reference in New Issue
Block a user