Disable Terminate First toggle in Selective restore mode
Uncheck and disable the toggle when switching to Selective so the value cannot carry through to the confirmation step. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -567,6 +567,9 @@ function gnizaModeChanged() {
|
||||
var selective = mode === 'selective';
|
||||
document.getElementById('selective-panel').hidden = !selective;
|
||||
document.getElementById('terminate-panel').hidden = selective;
|
||||
var termCb = document.getElementById('terminate');
|
||||
if (selective) { termCb.checked = false; termCb.disabled = true; }
|
||||
else { termCb.disabled = false; }
|
||||
document.getElementById('type_account_hidden').disabled = selective;
|
||||
if (selective) {
|
||||
gnizaTypesChanged();
|
||||
|
||||
Reference in New Issue
Block a user