From eeca188147b6d976d02c8a32f17de018ddd4b5ef Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 27 May 2016 14:10:00 +0200 Subject: [PATCH] (dashboard) on small screens, all widgets most move to force a repaint... --- src/www/index.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/www/index.php b/src/www/index.php index f7a0b37ef..36ad3d161 100644 --- a/src/www/index.php +++ b/src/www/index.php @@ -252,8 +252,12 @@ include("fbegin.inc");?> if (container.attr('id').split('_')[1] != target_col) { widget.remove().appendTo("#dashboard_"+target_col); } + } else { + // dashboard_colx (source) is not visible, move other items to col4 + widget.remove().appendTo("#dashboard_col4"); } }); + // show dashboard widgets after initial rendering $("#dashboard_container").show(); @@ -318,7 +322,7 @@ include("fbegin.inc");?>