mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
98_weekprofile: fix device name with dots topic,46117.msg500338
git-svn-id: https://svn.fhem.de/fhem/trunk@12297 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1314fcf866
commit
5a471e2922
@ -525,7 +525,7 @@ function FW_weekprofileEditDay(widget,day)
|
|||||||
$(div).append(html);
|
$(div).append(html);
|
||||||
|
|
||||||
var table = $("<table>").get(0);
|
var table = $("<table>").get(0);
|
||||||
$(table).attr('id',"weekprofile."+widget.DEVICE+"."+shortDays[day]);
|
$(table).attr('id',"weekprofile."+widget.DEVICE).attr("data-day", shortDays[day]);
|
||||||
$(table).attr('class',"block wide weekprofile");
|
$(table).attr('class',"block wide weekprofile");
|
||||||
|
|
||||||
html = '';
|
html = '';
|
||||||
@ -621,8 +621,7 @@ function FW_weekprofilePrepAndSendProf(devName)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var id = $(tableDay[i]).attr('id').split('.');
|
var day = $(tableDay[i]).data("day");
|
||||||
var day = id[id.length-1];
|
|
||||||
|
|
||||||
prf[day] = new Object();
|
prf[day] = new Object();
|
||||||
prf[day]['time'] = new Array();
|
prf[day]['time'] = new Array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user