From: Dominik Csapak <d.csapak@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH widget-toolkit] RRDTypeSelector: fix extjs debug mode
Date: Fri, 5 Dec 2025 15:34:45 +0100 [thread overview]
Message-ID: <20251205143450.2953331-1-d.csapak@proxmox.com> (raw)
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
next reply other threads:[~2025-12-05 14:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-05 14:34 Dominik Csapak [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251205143450.2953331-1-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.