2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

98_weekprofile: fix extract day from id msg379356

git-svn-id: https://svn.fhem.de/fhem/trunk@10284 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
risiko79 2015-12-28 16:12:00 +00:00
parent 50a64a4c37
commit e23feebaa2

View File

@ -1,4 +1,4 @@
//fhemweb_weekprofile.js 0.01 2015-12-23 Risiko
// $Id$
//for tooltip
$(document).ready(function(){
@ -332,7 +332,7 @@ function FW_weekprofilePrepAndSendProf(devName)
}
var id = $(tableDay[i]).attr('id').split('.');
var day = id[2];
var day = id[id.length-1];
prf[day] = new Object();
prf[day]['time'] = new Array();