mirror of
https://github.com/gchq/CyberChef
synced 2025-12-15 07:43:22 +00:00
Turn input tabs into progress bars
This commit is contained in:
@@ -212,6 +212,12 @@ class InputWaiter {
|
||||
handleLoaderMessage(e) {
|
||||
const r = e.data;
|
||||
|
||||
if (r.hasOwnProperty("progress") && r.hasOwnProperty("inputNum")) {
|
||||
this.manager.tabs.updateInputTabProgress(r.inputNum, r.progress, 100);
|
||||
} else if (r.hasOwnProperty("fileBuffer")) {
|
||||
this.manager.tabs.updateInputTabProgress(r.inputNum, 100, 100);
|
||||
}
|
||||
|
||||
if (r.hasOwnProperty("fileBuffer")) {
|
||||
this.inputWorker.postMessage({
|
||||
action: "loaderWorkerMessage",
|
||||
|
||||
Reference in New Issue
Block a user