[pve-devel] [PATCH widget-toolkit] RRDTypeSelector: fix extjs debug mode
Dominik Csapak
d.csapak at proxmox.com
Fri Dec 5 15:34:45 CET 2025
For some reason, using a space separated list of classes in `itemCls`
breaks the extjs debug mode. This is seemingly allowed everywhere else,
so to fix it, simply apply the classes directly to the children
with 'default'.
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
src/form/RRDTypeSelector.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/form/RRDTypeSelector.js b/src/form/RRDTypeSelector.js
index bbb5d86..51ae23a 100644
--- a/src/form/RRDTypeSelector.js
+++ b/src/form/RRDTypeSelector.js
@@ -75,7 +75,9 @@ Ext.define('Proxmox.form.RRDTypeSelector', {
xtype: 'segmentedbutton',
allowMultiple: false,
allowToggle: true,
- itemCls: 'x-btn-default-toolbar-small proxmox-inline-button',
+ defautl: {
+ cls: 'x-btn-default-toolbar-small proxmox-inline-button',
+ },
items: [
{
text: gettext('Maximum'),
--
2.47.3
More information about the pve-devel
mailing list