public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH widget-toolkit] RRDTypeSelector: fix button classes
Date: Tue,  9 Dec 2025 08:40:22 +0100	[thread overview]
Message-ID: <20251209074037.114475-1-d.csapak@proxmox.com> (raw)

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



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


             reply	other threads:[~2025-12-09  7:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-09  7:40 Dominik Csapak [this message]
2025-12-09  8:14 ` 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=20251209074037.114475-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 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