public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH widget-toolkit] RRDTypeSelector: fix extjs debug mode
@ 2025-12-05 14:34 Dominik Csapak
  2025-12-05 15:15 ` Max R. Carrara
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dominik Csapak @ 2025-12-05 14:34 UTC (permalink / raw)
  To: pve-devel

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@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



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-12-05 15:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-05 14:34 [pve-devel] [PATCH widget-toolkit] RRDTypeSelector: fix extjs debug mode Dominik Csapak
2025-12-05 15:15 ` Max R. Carrara
2025-12-05 15:16 ` Thomas Lamprecht
2025-12-05 15:34 ` [pve-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal