From 5dac71b3ee75fa739893810e30c537fe525b41d9 Mon Sep 17 00:00:00 2001 From: marsalva Date: Fri, 20 Mar 2026 08:24:18 +0000 Subject: [PATCH] Actualizar importar_todo.html --- importar_todo.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/importar_todo.html b/importar_todo.html index e6573b3..5ef76d1 100644 --- a/importar_todo.html +++ b/importar_todo.html @@ -145,8 +145,8 @@ document.getElementById("f_cp").value = cp; document.getElementById("f_pop").value = pop; document.getElementById("f_phone").value = phone; - document.getElementById("f_urgent").value = (urgent.toUpperCase() === 'SI') ? 'true' : 'false'; - document.getElementById("f_cia").value = cia ? ("TO&DO " + cia) : "TO&DO"; +// 🛑 CORRECCIÓN: Asegurarnos de limpiar espacios antes de comparar + document.getElementById("f_urgent").value = (urgent.toUpperCase().trim() === 'SI') ? 'true' : 'false'; document.getElementById("f_cia").value = cia ? ("TO&DO " + cia) : "TO&DO"; document.getElementById("f_desc").value = desc; document.getElementById("previewSection").classList.remove("hidden");