From eae144786deddfd214979b63b6b92206420fd58c Mon Sep 17 00:00:00 2001 From: risiko79 <> Date: Sat, 20 Feb 2016 16:38:21 +0000 Subject: [PATCH] 98_weekprofile: attribute widgetEditDaysInRow to control visible days in one row git-svn-id: https://svn.fhem.de/fhem/trunk@10894 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/www/pgm2/fhemweb_weekprofile.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/fhem/www/pgm2/fhemweb_weekprofile.js b/fhem/www/pgm2/fhemweb_weekprofile.js index a3c7ec5bc..3f43f0492 100644 --- a/fhem/www/pgm2/fhemweb_weekprofile.js +++ b/fhem/www/pgm2/fhemweb_weekprofile.js @@ -571,6 +571,9 @@ function FW_weekprofileEditWeek(widget) var table = widget.CONTENT; var daysInRow = 2; + if (widget.EDIT_DAYSINROW) + daysInRow = widget.EDIT_DAYSINROW; + $(table).append('