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:
parent
50a64a4c37
commit
e23feebaa2
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user