mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-10 01:18:06 +03:00
ui: fix changing remote to local sync job
Reported-by: Dominik Csapak <d.csapak@proxmox.com> Signed-off-by: Hannes Laimer <h.laimer@proxmox.com> Reviewed-by: Dominik Csapak <d.csapak@proxmox.com> Tested-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
7aeabff238
commit
eed57dfce1
@ -73,6 +73,7 @@ Ext.define('PBS.window.SyncJobEdit', {
|
||||
}
|
||||
if (!me.isCreate) {
|
||||
PBS.Utils.delete_if_default(values, 'rate-in');
|
||||
PBS.Utils.delete_if_default(values, 'remote');
|
||||
if (typeof values.delete === 'string') {
|
||||
values.delete = values.delete.split(',');
|
||||
}
|
||||
@ -200,9 +201,6 @@ Ext.define('PBS.window.SyncJobEdit', {
|
||||
xtype: 'pbsRemoteSelector',
|
||||
allowBlank: false,
|
||||
name: 'remote',
|
||||
cbind: {
|
||||
deleteEmpty: '{!isCreate}',
|
||||
},
|
||||
skipEmptyText: true,
|
||||
listeners: {
|
||||
change: function(f, value) {
|
||||
|
Loading…
Reference in New Issue
Block a user