[pbs-devel] [PATCH proxmox-backup 1/4] www: don't default to hourly sync job schedule

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Nov 4 14:42:37 CET 2020


(resend, as I forgot to keep the mailing list as recipient)

On 04.11.20 14:10, Fabian Grünbichler wrote:
> this breaks editing disabled sync jobs, and is also not consistent with

just means that we should only set it onCreate..

> the backend defaults.

which is? FWICT, there's no default in the backend - I want one here,
this can be easily edited and it's just better UX to avoid more decisions
which at this point may not be clear.

>
> Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ---
>  www/window/SyncJobEdit.js | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/www/window/SyncJobEdit.js b/www/window/SyncJobEdit.js
> index c89b95d2..43338cab 100644
> --- a/www/window/SyncJobEdit.js
> +++ b/www/window/SyncJobEdit.js
> @@ -84,7 +84,6 @@ Ext.define('PBS.window.SyncJobEdit', {
>  		fieldLabel: gettext('Schedule'),
>  		xtype: 'pbsCalendarEvent',
>  		name: 'schedule',
> -		value: 'hourly',
>  		emptyText: gettext('none (disabled)'),
>  		cbind: {
>  		    deleteEmpty: '{!isCreate}',
>








More information about the pbs-devel mailing list