Ver código fonte

Fix status response variable in async camera requests

SybexXx 1 dia atrás
pai
commit
a05f47b5de
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      sd-card/html/edit_config_template.html

+ 1 - 1
sd-card/html/edit_config_template.html

@@ -2504,7 +2504,7 @@ async function camSettingsSet(){
                 }
                 catch (error) {}
 
-                document.getElementById("overlaytext").innerHTML = "Device is busy, please wait.<br><br>Current step: " + _responseText;
+                document.getElementById("overlaytext").innerHTML = "Device is busy, please wait.<br><br>Current step: " + statusText;
                 console.log("Device is busy, waiting 2s then checking again...");
                 await sleep(2000);
             }