[pve-devel] [PATCH widget-toolkit] RRDTypeSelector: fix button classes
Dominik Csapak
d.csapak at proxmox.com
Tue Dec 9 08:40:22 CET 2025
commit
54a2e41 (RRD metric type selector: adapt applying CSS class to fix ExtJS debug mode)
changed how the item classes are set, but included a typo.
This was fixed in
f7e555b (RRD metric type selector: fix typo)
but not completely (the property is 'defaults', not 'default'), so use
the correct one.
Fixes: 54a2e41 (RRD metric type selector: adapt applying CSS class to fix ExtJS debug mode)
Fixes: f7e555b (RRD metric type selector: fix typo)
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
src/form/RRDTypeSelector.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/form/RRDTypeSelector.js b/src/form/RRDTypeSelector.js
index 3c1cb5e..b6e0124 100644
--- a/src/form/RRDTypeSelector.js
+++ b/src/form/RRDTypeSelector.js
@@ -75,7 +75,7 @@ Ext.define('Proxmox.form.RRDTypeSelector', {
xtype: 'segmentedbutton',
allowMultiple: false,
allowToggle: true,
- default: {
+ defaults: {
cls: 'x-btn-default-toolbar-small proxmox-inline-button',
},
items: [
--
2.47.3
More information about the pve-devel
mailing list