[pbs-devel] [RFC proxmox-backup] ui: sync job edit: fix showing value for target store upon edit of local sync job

Fiona Ebner f.ebner at proxmox.com
Tue Nov 28 17:04:15 CET 2023


when editing a local sync job, the field would be empty because of
this and not be set to the previously configured remote-store.

The binding is already used for the local datastore, not sure why it
should even be applied to the target where it might not even be valid.

Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---

Not familiar enough with the code, so sending as RFC.

 www/window/SyncJobEdit.js | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/www/window/SyncJobEdit.js b/www/window/SyncJobEdit.js
index d20def74..06d87bb2 100644
--- a/www/window/SyncJobEdit.js
+++ b/www/window/SyncJobEdit.js
@@ -225,9 +225,6 @@ Ext.define('PBS.window.SyncJobEdit', {
 			allowBlank: false,
 			autoSelect: false,
 			name: 'remote-store',
-			cbind: {
-			    datastore: '{datastore}',
-			},
 			listeners: {
 			    change: function(field, value) {
 				let me = this;
-- 
2.39.2





More information about the pbs-devel mailing list