mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
98_weekprofile: fix transfer day settings to other days msg409394
git-svn-id: https://svn.fhem.de/fhem/trunk@10828 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
56853c09fa
commit
d2f3f60c0c
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 98_weekprofile: transfer day settings to other days
|
||||
- bugfix: 49_SSCAM: fixed a problem that manual updates using
|
||||
"getcaminfoall" are leading to additional pollingloops
|
||||
if polling is used,
|
||||
|
@ -1,8 +1,10 @@
|
||||
// $Id$
|
||||
|
||||
var language = 'de';
|
||||
//for tooltip
|
||||
$(document).ready(function(){
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
language = window.navigator.userLanguage || window.navigator.language;
|
||||
});
|
||||
|
||||
var shortDays = ["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];
|
||||
@ -509,6 +511,15 @@ function FW_weekprofileTransDay(devName,day,bnt)
|
||||
});
|
||||
}
|
||||
|
||||
function FW_weekprofileTemp_chached(select)
|
||||
{
|
||||
var val = select.options[select.selectedIndex].value;
|
||||
|
||||
$(select).find("option").removeAttr('selected');
|
||||
$(select).val(val);
|
||||
$(select.options[select.selectedIndex]).attr("selected","selected");
|
||||
}
|
||||
|
||||
function FW_weekprofileEditDay(widget,day)
|
||||
{
|
||||
var div = $("<div>").get(0);
|
||||
@ -540,7 +551,7 @@ function FW_weekprofileEditDay(widget,day)
|
||||
html += "<td><input type=\"text\" name=\"ENDTIME\" size=\"5\" maxlength=\"5\" align=\"center\" value=\""+endTime+"\" onblur=\"FW_weekprofileEditTime_changed(this)\"/></td>";
|
||||
|
||||
//temp
|
||||
html += "<td><select name=\"TEMP\" size=\"1\">";
|
||||
html += "<td><select name=\"TEMP\" size=\"1\" onchange=\"FW_weekprofileTemp_chached(this)\">";
|
||||
for (var k=5; k <= 30; k+=.5)
|
||||
{
|
||||
var selected = (k == temps[i]) ? "selected " : "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user