Add btn_reload to checkbox_on_change

This commit is contained in:
FusionPBX
2026-05-01 18:15:14 +00:00
committed by GitHub
parent 652a7dc256
commit df18b4790f
+2
View File
@@ -1467,6 +1467,7 @@
btn_toggle = document.getElementById("btn_toggle"); btn_toggle = document.getElementById("btn_toggle");
btn_delete = document.getElementById("btn_delete"); btn_delete = document.getElementById("btn_delete");
btn_download = document.getElementById("btn_download"); btn_download = document.getElementById("btn_download");
btn_reload = document.getElementById("btn_reload");
btn_transcribe = document.getElementById("btn_transcribe"); btn_transcribe = document.getElementById("btn_transcribe");
any_revealed = document.getElementsByClassName('revealed'); any_revealed = document.getElementsByClassName('revealed');
if (checked == true) { if (checked == true) {
@@ -1474,6 +1475,7 @@
if (btn_toggle) { btn_toggle.style.display = "inline"; } if (btn_toggle) { btn_toggle.style.display = "inline"; }
if (btn_delete) { btn_delete.style.display = "inline"; } if (btn_delete) { btn_delete.style.display = "inline"; }
if (btn_download) { btn_download.style.display = "inline"; } if (btn_download) { btn_download.style.display = "inline"; }
if (btn_reload) { btn_reload.style.display = "inline"; }
if (btn_transcribe) { btn_transcribe.style.display = "inline"; } if (btn_transcribe) { btn_transcribe.style.display = "inline"; }
if (any_revealed) { [...any_revealed].map(btn => btn.style.display = "inline"); } if (any_revealed) { [...any_revealed].map(btn => btn.style.display = "inline"); }
} }