mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-08-02 21:14:45 +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 };
|
||||
},
|
||||
setValues: function(values) {
|
||||
values = PBS.Utils.parsePropertyString(values?.tuning);
|
||||
return Proxmox.panel.InputPanel.prototype.setValues.call(this, values);
|
||||
},
|
||||
onSetValues: values => PBS.Utils.parsePropertyString(values?.tuning),
|
||||
items: [
|
||||
{
|
||||
xtype: 'proxmoxKVComboBox',
|
||||
|
Loading…
Reference in New Issue
Block a user