mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Input and Output encodings are now saved per tab
This commit is contained in:
parent
5efd125d9b
commit
bdb8c02d5a
9 changed files with 87 additions and 33 deletions
|
@ -93,6 +93,23 @@ class Manager {
|
|||
this.bindings.updateKeybList();
|
||||
this.background.registerChefWorker();
|
||||
this.seasonal.load();
|
||||
|
||||
this.confirmWaitersLoaded();
|
||||
}
|
||||
|
||||
/**
|
||||
* Confirms that all Waiters have loaded correctly.
|
||||
*/
|
||||
confirmWaitersLoaded() {
|
||||
if (this.tabs.getActiveTab("input") >= 0 &&
|
||||
this.tabs.getActiveTab("output") >= 0) {
|
||||
log.debug("Waiters loaded");
|
||||
this.app.waitersLoaded = true;
|
||||
this.app.loaded();
|
||||
} else {
|
||||
// Not loaded yet, try again soon
|
||||
setTimeout(this.confirmWaitersLoaded.bind(this), 10);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue