mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +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);
|
||||
|
||||
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");
|
||||
|
||||
html = '';
|
||||
@ -621,8 +621,7 @@ function FW_weekprofilePrepAndSendProf(devName)
|
||||
return;
|
||||
}
|
||||
|
||||
var id = $(tableDay[i]).attr('id').split('.');
|
||||
var day = id[id.length-1];
|
||||
var day = $(tableDay[i]).data("day");
|
||||
|
||||
prf[day] = new Object();
|
||||
prf[day]['time'] = new Array();
|
||||
|
Loading…
Reference in New Issue
Block a user