Commit 204b38ce by Daniel Bawag

Merge branch 'feature-WG-100' into 'development'

SVI - Web-GDE - beta 3 See merge request !22
parents 1238d972 daa1fe96
...@@ -69,6 +69,10 @@ async function accessFile() { ...@@ -69,6 +69,10 @@ async function accessFile() {
const blob = await res.blob(); const blob = await res.blob();
status('download completed'); status('download completed');
[...document.getElementsByClassName("bar")].forEach(el => {
el.style.display = "none";
});
const request = indexedDB.open("ImageDatabase", 1); const request = indexedDB.open("ImageDatabase", 1);
request.onsuccess = async function () { request.onsuccess = async function () {
// console.log("Database opened successfully " + val ); // console.log("Database opened successfully " + val );
...@@ -323,6 +327,10 @@ function refreshImage() { ...@@ -323,6 +327,10 @@ function refreshImage() {
db.close(); db.close();
status('downloaded '+Math.trunc(size/1000)+" kb"); status('downloaded '+Math.trunc(size/1000)+" kb");
progress(); progress();
[...document.getElementsByClassName("bar")].forEach(el => {
el.style.display = "none";
});
}; };
}; };
} }
......
...@@ -53,6 +53,9 @@ const submitForm = (e) => { ...@@ -53,6 +53,9 @@ const submitForm = (e) => {
el.children[3].removeChild(el.children[3].firstChild); el.children[3].removeChild(el.children[3].firstChild);
} }
}); });
[...document.getElementsByClassName("bar")].forEach(el => {
el.style.removeProperty('display');
});
document.getElementById("counter").innerHTML = ""; document.getElementById("counter").innerHTML = "";
clearTimeout(interval); clearTimeout(interval);
isCanvasNotCreated = true; isCanvasNotCreated = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment