all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] ui: ha: rules: fix edit button
@ 2025-08-14 14:33 Fiona Ebner
  2025-08-18  8:08 ` [pve-devel] applied: " Dominik Csapak
  0 siblings, 1 reply; 2+ messages in thread
From: Fiona Ebner @ 2025-08-14 14:33 UTC (permalink / raw)
  To: pve-devel

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


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

* [pve-devel] applied: [PATCH manager] ui: ha: rules: fix edit button
  2025-08-14 14:33 [pve-devel] [PATCH manager] ui: ha: rules: fix edit button Fiona Ebner
@ 2025-08-18  8:08 ` Dominik Csapak
  0 siblings, 0 replies; 2+ messages in thread
From: Dominik Csapak @ 2025-08-18  8:08 UTC (permalink / raw)
  To: Proxmox VE development discussion, Fiona Ebner



On 8/14/25 16:34, Fiona Ebner wrote:
> 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(-)
> 
>

applied, thanks!


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


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

end of thread, other threads:[~2025-08-18  8:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-14 14:33 [pve-devel] [PATCH manager] ui: ha: rules: fix edit button Fiona Ebner
2025-08-18  8:08 ` [pve-devel] applied: " Dominik Csapak

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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal