Announce yes-no choice labels while navigating confirmations
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
// Maintainer-controlled web client version.
|
// Maintainer-controlled web client version.
|
||||||
// Format: YYYY.MM.DD Rn (example: 2026.02.20 R2)
|
// Format: YYYY.MM.DD Rn (example: 2026.02.20 R2)
|
||||||
window.CHGRID_WEB_VERSION = "2026.03.01 R321";
|
window.CHGRID_WEB_VERSION = "2026.03.01 R322";
|
||||||
// Optional display timezone for timestamps. Falls back to America/Detroit if unset/invalid.
|
// Optional display timezone for timestamps. Falls back to America/Detroit if unset/invalid.
|
||||||
window.CHGRID_TIME_ZONE = "America/Detroit";
|
window.CHGRID_TIME_ZONE = "America/Detroit";
|
||||||
|
|||||||
@@ -2988,6 +2988,7 @@ function handleConfirmYesNoModeInput(code: string, key: string): void {
|
|||||||
const control = handleYesNoMenuInput(code, key, itemManagementConfirmIndex);
|
const control = handleYesNoMenuInput(code, key, itemManagementConfirmIndex);
|
||||||
if (control.type === 'move') {
|
if (control.type === 'move') {
|
||||||
itemManagementConfirmIndex = control.index;
|
itemManagementConfirmIndex = control.index;
|
||||||
|
updateStatus(YES_NO_OPTIONS[itemManagementConfirmIndex].label);
|
||||||
audio.sfxUiBlip();
|
audio.sfxUiBlip();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -3302,6 +3303,7 @@ function handleAdminUserDeleteConfirmModeInput(code: string, key: string): void
|
|||||||
const control = handleYesNoMenuInput(code, key, adminDeleteConfirmIndex);
|
const control = handleYesNoMenuInput(code, key, adminDeleteConfirmIndex);
|
||||||
if (control.type === 'move') {
|
if (control.type === 'move') {
|
||||||
adminDeleteConfirmIndex = control.index;
|
adminDeleteConfirmIndex = control.index;
|
||||||
|
updateStatus(YES_NO_OPTIONS[adminDeleteConfirmIndex].label);
|
||||||
audio.sfxUiBlip();
|
audio.sfxUiBlip();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user