fix(gui): conferma esplicita su Muovi quando dry-run off

Coerente con le conferme di Home e Custom: gesto fisico richiede consenso.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Adriano Dal PastroandClaude Opus 4.7 committed 2026-05-20 12:47:34 +02:00
1 parent 8297abb61d
commit 848cd962c4
1 file changed
+1
+1
View File
@@ -268,6 +268,7 @@ async function onMove() {
const className = $('raWristClass').value;
const conf = parseFloat($('raWristConf').value) || null;
const dryRun = $('raMoveDryRun').checked;
if (!dryRun && !confirm('Dry-run OFF: eseguire move REALE verso il pezzo?')) return;
try {
const res = await jsonFetch('/api/right_arm/move/toward', {
method: 'POST', headers: { 'Content-Type': 'application/json' },