Skip to content

Commit

Permalink
Display My View boxes on 1 col when fixed position is OFF
Browse files Browse the repository at this point in the history
Prior to this, with Timeline enabled, My View page would display the
boxes on a single column when $g_my_view_boxes_fixed_position = ON, and
2 columns when OFF.

Fixes #22095
  • Loading branch information
dregad committed Dec 30, 2016
1 parent 22f68e7 commit 8ee3b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion my_view_page.php
Expand Up @@ -136,7 +136,7 @@

# check the style of displaying boxes - fixed (ie. each box in a separate table cell) or not
# When timeline is hidden, only use 1 column is displayed
if( ON == $t_boxes_position ) {
if( $t_timeline_view_threshold_access || ON == $t_boxes_position ) {
if( $t_timeline_view_threshold_access || 1 == $t_counter%2 ) {
# for even box number start new row and column
echo '<tr><td class="myview-left-col">';
Expand Down

0 comments on commit 8ee3b13

Please sign in to comment.