ui: fix RemoteEdit password change
we have to remove the password from the submitvalues if it did not change Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
91e5bb49f5
commit
6bba120d14
@ -75,4 +75,15 @@ Ext.define('PBS.window.RemoteEdit', {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
getValues: function() {
|
||||||
|
let me = this;
|
||||||
|
let values = me.callParent(arguments);
|
||||||
|
|
||||||
|
if (values.password === '') {
|
||||||
|
delete values.password;
|
||||||
|
}
|
||||||
|
|
||||||
|
return values;
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user