Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
web-ui
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WEBGDE-Components
web-ui
Commits
daa1fe96
Commit
daa1fe96
authored
Oct 06, 2022
by
Daniel Bawag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WG-100 - Removed the download status bar
parent
1238d972
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
accessFile.js
Web-GDE/src/accessFile/accessFile.js
+8
-0
submit.js
Web-GDE/src/submit/submit.js
+3
-0
No files found.
Web-GDE/src/accessFile/accessFile.js
View file @
daa1fe96
...
...
@@ -69,6 +69,10 @@ async function accessFile() {
const
blob
=
await
res
.
blob
();
status
(
'download completed'
);
[...
document
.
getElementsByClassName
(
"bar"
)].
forEach
(
el
=>
{
el
.
style
.
display
=
"none"
;
});
const
request
=
indexedDB
.
open
(
"ImageDatabase"
,
1
);
request
.
onsuccess
=
async
function
()
{
// console.log("Database opened successfully " + val );
...
...
@@ -323,6 +327,10 @@ function refreshImage() {
db
.
close
();
status
(
'downloaded '
+
Math
.
trunc
(
size
/
1000
)
+
" kb"
);
progress
();
[...
document
.
getElementsByClassName
(
"bar"
)].
forEach
(
el
=>
{
el
.
style
.
display
=
"none"
;
});
};
};
}
...
...
Web-GDE/src/submit/submit.js
View file @
daa1fe96
...
...
@@ -53,6 +53,9 @@ const submitForm = (e) => {
el
.
children
[
3
].
removeChild
(
el
.
children
[
3
].
firstChild
);
}
});
[...
document
.
getElementsByClassName
(
"bar"
)].
forEach
(
el
=>
{
el
.
style
.
removeProperty
(
'display'
);
});
document
.
getElementById
(
"counter"
).
innerHTML
=
""
;
clearTimeout
(
interval
);
isCanvasNotCreated
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment