mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Dashboard: Adjust Expand/Contract All button based on widget Hidden state, as well.
This commit is contained in:
@@ -176,7 +176,7 @@
|
|||||||
if (is_array($dashboard) && @sizeof($dashboard) != 0) {
|
if (is_array($dashboard) && @sizeof($dashboard) != 0) {
|
||||||
$expanded_all = true;
|
$expanded_all = true;
|
||||||
foreach ($dashboard as $row) {
|
foreach ($dashboard as $row) {
|
||||||
if ($row['dashboard_details_state'] == 'contracted') { $expanded_all = false; }
|
if ($row['dashboard_details_state'] == 'contracted' || $row['dashboard_details_state'] == 'hidden') { $expanded_all = false; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user