From c4dca88b5e6e3fa054bd1aea295183a6fcb3afc1 Mon Sep 17 00:00:00 2001 From: Fabian Ebner Date: Mon, 9 May 2022 12:34:12 +0200 Subject: [PATCH] ui: manual backup: also set notes-template default like is done for other vzdump options already. Requested in the community forum: https://forum.proxmox.com/threads/108970/#post-468655 Signed-off-by: Fabian Ebner --- www/manager6/window/Backup.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/manager6/window/Backup.js b/www/manager6/window/Backup.js index f768aee3..510430c0 100644 --- a/www/manager6/window/Backup.js +++ b/www/manager6/window/Backup.js @@ -113,6 +113,10 @@ Ext.define('PVE.window.Backup', { if (!initialDefaults && data.mode !== undefined) { modeSelector.setValue(data.mode); } + if (!initialDefaults && (data['notes-template'] ?? false)) { + me.down('field[name=notes-template]') + .setValue(data['notes-template']); + } initialDefaults = true; -- 2.39.5