Actualizar importar_todo.html

This commit is contained in:
2026-03-20 08:24:18 +00:00
parent 018ae51fef
commit 5dac71b3ee

View File

@@ -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");