[fix](trx-frontend-http): release scheduler after entry step

Automatically return control to the scheduler after using the Previous or Next entry controls so manual stepping does not leave the session latched in takeover mode.

Verification: node --check src/trx-client/trx-frontend/trx-frontend-http/assets/web/plugins/scheduler.js

Co-authored-by: OpenAI Codex <codex@openai.com>
Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
2026-03-14 14:08:44 +01:00
parent c1e8ce42d2
commit 3f7afd961b
@@ -523,10 +523,16 @@
})
.then(function (status) {
currentSchedulerStatus = status || null;
return Promise.resolve(
typeof vchanToggleSchedulerRelease === "function"
? vchanToggleSchedulerRelease()
: null
).then(function () {
renderStatus(status);
renderSchedulerInterleaveStatus();
showSchedulerToast("Selected " + schedulerEntryDisplayName(target) + ".");
pollStatus();
});
})
.catch(function (e) {
console.error("scheduler entry selection failed", e);