diff --git a/fhem/CHANGED b/fhem/CHANGED index 07ffc37cd..85c279884 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -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 diff --git a/fhem/www/pgm2/fhemweb_weekprofile.js b/fhem/www/pgm2/fhemweb_weekprofile.js index ede5fe313..59cae47bb 100644 --- a/fhem/www/pgm2/fhemweb_weekprofile.js +++ b/fhem/www/pgm2/fhemweb_weekprofile.js @@ -884,6 +884,10 @@ FW_weekprofileCreate(elName, devName, vArr, currVal, set, params, cmd) //inform profile_count changed var prfCnt = $('
').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 {