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