[pbs-devel] [PATCH proxmox-backup] PruneJobEdit disallow blank schedule value
Stefan Lendl
s.lendl at proxmox.com
Tue Feb 6 14:18:32 CET 2024
The schedule value for prune jobs can not be empty.
Signed-off-by: Stefan Lendl <s.lendl at 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
More information about the pbs-devel
mailing list