Ver Fonte

Wait for flow pause during alignment marker update

SybexXx há 1 dia atrás
pai
commit
724c32cf1c
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      sd-card/html/edit_alignment.html

+ 3 - 3
sd-card/html/edit_alignment.html

@@ -285,7 +285,7 @@
 
 
             async function task() {
             async function task() {
                 while (true) {
                 while (true) {
-                    if (durchlaufe > 10) {
+                    if (durchlaufe > 30) {
                         document.getElementById("overlay").style.display = "none";
                         document.getElementById("overlay").style.display = "none";
                         firework.launch('Enhancing Image Contrast aborted, timeout!', 'danger', 5000);
                         firework.launch('Enhancing Image Contrast aborted, timeout!', 'danger', 5000);
                         return;
                         return;
@@ -316,7 +316,7 @@
                         }
                         }
                         catch (error){}
                         catch (error){}
 
 
-                        document.getElementById("overlaytext").innerHTML = "Device is busy, waiting until the Digitization Round got completed (this can take several minutes)...<br><br>Current step: " + xhttp.responseText;
+                        document.getElementById("overlaytext").innerHTML = "Device is busy, waiting for the current round to finish and the flow to pause...<br><br>Current step: " + xhttp.responseText;
                         console.log("Device is busy, waiting 5s then checking again...");
                         console.log("Device is busy, waiting 5s then checking again...");
                         await sleep(5000);
                         await sleep(5000);
                     }
                     }
@@ -517,7 +517,7 @@
                         }
                         }
                         catch (error){}
                         catch (error){}
 
 
-                        document.getElementById("overlaytext").innerHTML = "Device is busy, waiting until the Digitization Round got completed (this can take several minutes)...<br><br>Current step: " + xhttp.responseText;
+                        document.getElementById("overlaytext").innerHTML = "Device is busy, waiting for the current round to finish and the flow to pause...<br><br>Current step: " + xhttp.responseText;
                         console.log("Device is busy, waiting 5s then checking again...");
                         console.log("Device is busy, waiting 5s then checking again...");
                         await sleep(5000);
                         await sleep(5000);
                     }
                     }