all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] PruneJobEdit disallow blank schedule value
@ 2024-02-06 13:18 Stefan Lendl
  2024-03-07 13:35 ` Stefan Lendl
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Lendl @ 2024-02-06 13:18 UTC (permalink / raw)
  To: pbs-devel

The schedule value for prune jobs can not be empty.

Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
---
 www/window/PruneJobEdit.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/www/window/PruneJobEdit.js b/www/window/PruneJobEdit.js
index 84159a9d..17fc9331 100644
--- a/www/window/PruneJobEdit.js
+++ b/www/window/PruneJobEdit.js
@@ -114,10 +114,9 @@ Ext.define('PBS.window.PruneJobEdit', {
 		fieldLabel: gettext('Prune Schedule'),
 		xtype: 'pbsCalendarEvent',
 		name: 'schedule',
-		emptyText: gettext('none (disabled)'),
+		allowBlank: false,
 		cbind: {
-			deleteEmpty: '{!isCreate}',
-			value: '{scheduleValue}',
+		    value: '{scheduleValue}',
 		},
 	    },
 	    {
-- 
2.43.0





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

* Re: [pbs-devel] [PATCH proxmox-backup] PruneJobEdit disallow blank schedule value
  2024-02-06 13:18 [pbs-devel] [PATCH proxmox-backup] PruneJobEdit disallow blank schedule value Stefan Lendl
@ 2024-03-07 13:35 ` Stefan Lendl
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Lendl @ 2024-03-07 13:35 UTC (permalink / raw)
  To: pbs-devel


sent v2 with fixed whitespaces.




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

end of thread, other threads:[~2024-03-07 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-06 13:18 [pbs-devel] [PATCH proxmox-backup] PruneJobEdit disallow blank schedule value Stefan Lendl
2024-03-07 13:35 ` Stefan Lendl

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