We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b46fe1 commit 3cb56d2Copy full SHA for 3cb56d2
src/js/serial_backend.js
@@ -283,11 +283,11 @@ function abortConnection() {
283
}
284
285
// Centralized helper: show version mismatch warning and switch to CLI
286
-function showVersionMismatchAndCli() {
+function showVersionMismatchAndCli(message) {
287
const dialog = $(".dialogConnectWarning")[0];
288
289
$(".dialogConnectWarning-content").html(
290
- i18n.getMessage("firmwareVersionNotSupported", [CONFIGURATOR.API_VERSION_ACCEPTED]),
+ message || i18n.getMessage("firmwareVersionNotSupported", [CONFIGURATOR.API_VERSION_ACCEPTED]),
291
);
292
293
$(".dialogConnectWarning-closebtn").one("click", function () {
0 commit comments