public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH v2 proxmox-backup 1/1] PruneJobEdit disallow blank schedule value
@ 2024-03-07 13:33 Stefan Lendl
  2024-03-07 13:39 ` Gabriel Goller
  2024-03-25 17:03 ` [pbs-devel] applied: " Thomas Lamprecht
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Lendl @ 2024-03-07 13:33 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>
---

Changes v1 -> v2:
* minimal whitespace fix to make it apply

 www/window/PruneJobEdit.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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





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

end of thread, other threads:[~2024-03-25 17:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-07 13:33 [pbs-devel] [PATCH v2 proxmox-backup 1/1] PruneJobEdit disallow blank schedule value Stefan Lendl
2024-03-07 13:39 ` Gabriel Goller
2024-03-07 13:50   ` Stefan Lendl
2024-03-07 13:53     ` Gabriel Goller
2024-03-25 17:03 ` [pbs-devel] applied: " Thomas Lamprecht

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