mirror of
https://github.com/gchq/CyberChef.git
synced 2024-09-28 06:21:30 +02:00
Make loadURIParams set input non-silently
Silent input changes might be overwritten due to the debounce logic present inside inputChange.
This commit is contained in:
parent
fc40580dce
commit
1adc2ff930
@ -236,7 +236,7 @@ class App {
|
|||||||
action: "setInput",
|
action: "setInput",
|
||||||
data: {
|
data: {
|
||||||
inputNum: inputNum,
|
inputNum: inputNum,
|
||||||
silent: true
|
silent: false
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -541,7 +541,11 @@ class App {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.autoBakePause = false;
|
this.autoBakePause = false;
|
||||||
window.dispatchEvent(this.manager.statechange);
|
|
||||||
|
// Dispatch stateChange only if not done by setInput
|
||||||
|
if (this.uriParams.input) {
|
||||||
|
window.dispatchEvent(this.manager.statechange);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user