public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] ui: prune job edit: fix disabling jobs
@ 2022-11-14  9:42 Fiona Ebner
  2022-11-14 10:54 ` Dominik Csapak
  2022-11-15 14:29 ` Thomas Lamprecht
  0 siblings, 2 replies; 6+ messages in thread
From: Fiona Ebner @ 2022-11-14  9:42 UTC (permalink / raw)
  To: pbs-devel

The backend doesn't have an 'enable' option, but 'disable'. Could be
converted before sending and after loading, but it's cleaner to just
align it with the backend.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
 www/window/PruneJobEdit.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/www/window/PruneJobEdit.js b/www/window/PruneJobEdit.js
index 87be71ad..1b43b31f 100644
--- a/www/window/PruneJobEdit.js
+++ b/www/window/PruneJobEdit.js
@@ -112,11 +112,11 @@ Ext.define('PBS.window.PruneJobEdit', {
 	    },
 	    {
 		xtype: 'proxmoxcheckbox',
-		fieldLabel: gettext('Enabled'),
-		name: 'enable',
-		uncheckedValue: 0,
-		defaultValue: 1,
-		checked: true,
+		fieldLabel: gettext('Disabled'),
+		name: 'disable',
+		uncheckedValue: false,
+		defaultValue: true,
+		checked: false,
 	    },
 	],
 
-- 
2.30.2





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

end of thread, other threads:[~2022-11-16  9:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14  9:42 [pbs-devel] [PATCH proxmox-backup] ui: prune job edit: fix disabling jobs Fiona Ebner
2022-11-14 10:54 ` Dominik Csapak
2022-11-14 13:26   ` Fabian Grünbichler
2022-11-14 14:01     ` Dominik Csapak
2022-11-15 14:29 ` Thomas Lamprecht
2022-11-16  9:41   ` Fiona Ebner

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