mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
backups: Fix issue with Javascript in add remote location form
Tests: - In remote repository add form, selecting radio options for authentication types does not throw an error. The password field is shown/hidden as expected. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
305b1f01f5
commit
ad40072267
@ -23,8 +23,8 @@
|
||||
*/
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const keyAuth = document.getElementById('id_ssh_auth_type_key');
|
||||
const passwordAuth = document.getElementById('id_ssh_auth_type_password');
|
||||
const keyAuth = document.getElementById('id_ssh_auth_type_0');
|
||||
const passwordAuth = document.getElementById('id_ssh_auth_type_1');
|
||||
const sshPasswordField = document.getElementById('id_ssh_password');
|
||||
const encryptionType = document.getElementById('id_encryption');
|
||||
const encryptionPassphraseField = document.getElementById('id_encryption_passphrase');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user