Changeset 2160696
- Timestamp:
- 09/21/2019 05:26:12 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wp-issues-crm/trunk/php/entity/class-wic-entity-dashboard.php
r2157599 r2160696 61 61 ksort ( $sorted_dashboard_divs ); 62 62 // identify which entity to start as open 63 $open_div = isset ( $config->tall ) ? $config->tall[0]: 'dashboard_overview';63 $open_div = isset ( $config->tall ) ? ( isset ( $config->tall[0] ) ? $config->tall[0] : 'dashboard_overview' ) : 'dashboard_overview'; 64 64 echo '<ul id="dashboard-sortables" >'; 65 65 foreach ( $sorted_dashboard_divs as $key => $dashboard_div ) { 66 $tall_class = $open_div == $dashboard_div[0] ? ' wic-dashboard-tall ' : ''; // no longer controlled by user66 $tall_class = $open_div == $dashboard_div[0] ? ' wic-dashboard-tall ' : ''; 67 67 echo 68 68 '<li id = "' . $dashboard_div[0] . '" class = "ui-state-default wic-dashboard wic-dashboard-full ' . $tall_class . '">' .
Note: See TracChangeset
for help on using the changeset viewer.