public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager 1/2] ui: manual backup: also set notes-template default
@ 2022-05-09  7:17 Fabian Ebner
  2022-05-09  7:17 ` [pve-devel] [PATCH manager 2/2] configs: vzdump: add " Fabian Ebner
  0 siblings, 1 reply; 5+ messages in thread
From: Fabian Ebner @ 2022-05-09  7:17 UTC (permalink / raw)
  To: pve-devel

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 <f.ebner@proxmox.com>
---
 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 f77e9ffa..a0ea0846 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.30.2





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

end of thread, other threads:[~2022-05-10  7:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-09  7:17 [pve-devel] [PATCH manager 1/2] ui: manual backup: also set notes-template default Fabian Ebner
2022-05-09  7:17 ` [pve-devel] [PATCH manager 2/2] configs: vzdump: add " Fabian Ebner
2022-05-09  7:46   ` Fabian Ebner
2022-05-09 11:52   ` Thomas Lamprecht
2022-05-10  6:59     ` Fabian Ebner

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