2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

98_weekprofile: do not update profile data in edit mode

git-svn-id: https://svn.fhem.de/fhem/trunk@23481 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Risiko 2021-01-06 19:15:46 +00:00
parent c65b15b9e1
commit 47e5153139
2 changed files with 5 additions and 0 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: do not update profile data in edit mode
- change: 93_DbRep: set fastStart as default for TYPE Client
- bugfix: 93_DbRep: sumValue - create 0 instaed of '-' if value of DS is 0
- feature: 49_TBot_List: new silentStart option

View File

@ -884,6 +884,10 @@ FW_weekprofileCreate(elName, devName, vArr, currVal, set, params, cmd)
//inform profile_count changed
var prfCnt = $('<div informid="'+devName+'-profile_count" style="display:none">').get(0);
prfCnt.setValueFn = function(arg){
if (widget.MODE == 'EDIT') {
// do not update profile data in edit mode
return;
}
if (widget.USETOPICS == 1) {
FW_cmd(FW_root+'?cmd=get '+devName+' topic_names&XHR=1',function(data){FW_weekprofileGetValues(devName,"TOPICNAMES",data);});
} else {