2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

98_weekprofile: fix "error restore topic"

git-svn-id: https://svn.fhem.de/fhem/trunk@15765 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Risiko 2018-01-03 12:03:39 +00:00
parent 863ef6bee1
commit f68d98680e
2 changed files with 7 additions and 3 deletions

View File

@ -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: fix "error restore topic"
- change: 14_CUL_TCM97001: Fix Logoutput, Fix device output with
multiple sensors
- change: 74_AMADDevice: change DEF and add Attribut IODev, add Reading

View File

@ -199,9 +199,12 @@ function FW_weekprofileRestoreTopic(devName,bnt)
FW_weekprofileInputDialog(["<p>Restore topic: '"+widget.CURTOPIC+"'&nbsp;?</p>"],["hidden"],null,bnt,function(name,ok){
if (ok == 1)
FW_cmd(FW_root+'?cmd=set '+devName+' restore_topic '+widget.CURTOPIC+'&XHR=1',function(data){
if (data != "")
{
console.log(devName+" error restore topic '" +data+"'");
FW_errmsg(devName+" error restore topic '" +data+"'",5000);
return;
}
});
});
}