mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
[CORE] [MENU] Feature Assign/Unassign User Groups (#7373)
This commit is contained in:
@@ -900,14 +900,14 @@
|
||||
btn_delete = document.getElementById("btn_delete");
|
||||
btn_download = document.getElementById("btn_download");
|
||||
btn_transcribe = document.getElementById("btn_transcribe");
|
||||
btn_resend = document.getElementById("btn_resend");
|
||||
any_revealed = document.getElementsByClassName('revealed');
|
||||
if (checked == true) {
|
||||
if (btn_copy) { btn_copy.style.display = "inline"; }
|
||||
if (btn_toggle) { btn_toggle.style.display = "inline"; }
|
||||
if (btn_delete) { btn_delete.style.display = "inline"; }
|
||||
if (btn_download) { btn_download.style.display = "inline"; }
|
||||
if (btn_transcribe) { btn_transcribe.style.display = "inline"; }
|
||||
if (btn_resend) { btn_resend.style.display = "inline"; }
|
||||
if (any_revealed) { [...any_revealed].map(btn => btn.style.display = "inline"); }
|
||||
}
|
||||
else {
|
||||
if (btn_copy) { btn_copy.style.display = "none"; }
|
||||
@@ -915,7 +915,7 @@
|
||||
if (btn_delete) { btn_delete.style.display = "none"; }
|
||||
if (btn_download) { btn_download.style.display = "none"; }
|
||||
if (btn_transcribe) { btn_transcribe.style.display = "none"; }
|
||||
if (btn_resend) { btn_resend.style.display = "none"; }
|
||||
if (any_revealed) { [...any_revealed].map(btn => btn.style.display = "none"); }
|
||||
}
|
||||
}
|
||||
{/literal}
|
||||
@@ -938,6 +938,13 @@
|
||||
document.getElementById('btn_check_none').style.display = 'none';
|
||||
}
|
||||
}
|
||||
any_revealed = document.getElementsByClassName('revealed');
|
||||
if (checkbox_checked == true) {
|
||||
if (any_revealed) { [...any_revealed].map(btn => btn.style.display = "inline"); }
|
||||
}
|
||||
else {
|
||||
if (any_revealed) { [...any_revealed].map(btn => btn.style.display = "none"); }
|
||||
}
|
||||
}
|
||||
|
||||
function list_all_check() {
|
||||
|
||||
Reference in New Issue
Block a user