disable status outside of recovery

This commit is contained in:
Christian Herzog
2019-09-29 19:13:43 +02:00
parent dd233dc553
commit c7af04bbf6

View File

@@ -514,7 +514,7 @@ $(document).ready(function(){
$("#autoexec-cb")[0].checked=false; $("#autoexec-cb")[0].checked=false;
} }
} }
if (data.hasOwnProperty('recovery')) { if (data.hasOwnProperty('recovery')) { //move to status!
if (data["recovery"] === 1) { if (data["recovery"] === 1) {
recovery = true; recovery = true;
$("#otadiv").show(); $("#otadiv").show();
@@ -522,6 +522,7 @@ $(document).ready(function(){
} else { } else {
recovery = false; recovery = false;
$("#otadiv").hide(); $("#otadiv").hide();
enableStatusTimer = false;
} }
} }
if (data.hasOwnProperty('list')) { if (data.hasOwnProperty('list')) {