public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH manager] ui: ha: rules: fix edit button
Date: Thu, 14 Aug 2025 16:33:20 +0200	[thread overview]
Message-ID: <20250814143425.357868-1-f.ebner@proxmox.com> (raw)

As reported in the community forum [0], the 'Edit' button would stay
disabled. Use a proxmoxButton to fix it, which installs a monitor for
selectionchange.

[0]: https://forum.proxmox.com/threads/169258/post-792029

Fixes: fb289b0d ("ha: affinity rules: make edit/remove button declrative configs")
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
 www/manager6/ha/Rules.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/ha/Rules.js b/www/manager6/ha/Rules.js
index 35efdabe..b2c510d6 100644
--- a/www/manager6/ha/Rules.js
+++ b/www/manager6/ha/Rules.js
@@ -96,7 +96,7 @@ Ext.define('PVE.ha.RulesBaseView', {
                     handler: () => createRuleEditWindow(),
                 },
                 {
-                    xtype: 'button',
+                    xtype: 'proxmoxButton',
                     text: gettext('Edit'),
                     disabled: true,
                     selModel: sm,
-- 
2.47.2



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


             reply	other threads:[~2025-08-14 14:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-14 14:33 Fiona Ebner [this message]
2025-08-18  8:08 ` [pve-devel] applied: " Dominik Csapak

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=20250814143425.357868-1-f.ebner@proxmox.com \
    --to=f.ebner@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