mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add ability to create multiple dashboards (#7483)
* Add ability to create multiple dashboards * Create dashboard_widget_list.php * Create dashboard_widget_edit.php * Update dashboard_edit.php * Update dashboard_config_json.php * Update dashboard.php * Update app_languages.php * Update app_defaults.php * Update app_config.php * Update dashboard.php * Create config.php * Update content.php * Update icon.php * Update parent.php * Update template.php * Update config.php * Update config.php * Update domains.php * Update config.php * Update active_calls.php * Update config.php * Update config.php * Update config.php * Update config.php * Update call_forward.php * Update config.php * Update config.php * Update config.php * Update config.php * Update config.php * Update domain_limits.php * Update caller_id.php * Update config.php * Update config.php * Update config.php * Update config.php * Update config.php * Update registrations.php * Update ring_group_forward.php * Update config.php * Update config.php * Update switch_status.php * Update config.php * Update system_counts.php * Update system_cpu_status.php * Update system_disk_usage.php * Update system_services.php * Update system_status.php * Update config.php * Update config.php * Update voicemails.php * Update config.php * Update missed_calls.php * Update recent_calls.php * Update dashboard_widget_edit.php * Update app_languages.php * Update dashboard_widget_edit.php * Update index.php * Update parent.php
This commit is contained in:
@@ -947,7 +947,7 @@
|
||||
//list page functions
|
||||
{literal}
|
||||
function list_all_toggle(modifier) {
|
||||
var checkboxes = (modifier !== undefined) ? document.getElementsByClassName('checkbox_'+modifier) : document.querySelectorAll("input[type='checkbox']");
|
||||
var checkboxes = (modifier !== undefined) ? document.getElementsByClassName('checkbox_'+modifier) : document.querySelectorAll("input[type='checkbox']:not([id*='_enabled'])");
|
||||
var checkbox_checked = document.getElementById('checkbox_all' + (modifier !== undefined ? '_'+modifier : '')).checked;
|
||||
for (var i = 0, max = checkboxes.length; i < max; i++) {
|
||||
checkboxes[i].checked = checkbox_checked;
|
||||
|
||||
Reference in New Issue
Block a user