From 02c0eebcf58f765b8c0089e43e3fc6b2c52c897c Mon Sep 17 00:00:00 2001 From: MatteoPistorello Date: Thu, 30 Sep 2021 14:49:10 +0200 Subject: [PATCH] Fix campi disabilitati in fase di aggiunta prima nota --- modules/primanota/movimenti.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/primanota/movimenti.php b/modules/primanota/movimenti.php index bf4ba691e..da7467ce3 100755 --- a/modules/primanota/movimenti.php +++ b/modules/primanota/movimenti.php @@ -312,7 +312,7 @@ $(document).on("keyup change", "input[id*=dare]", function() { let row = $(this).parent().parent(); if (!$(this).prop("disabled")) { - row.find("input[id*=avere]").prop("disabled", !!$(this).val()); + row.find("input[id*=avere]").prop("disabled", $(this).val().toEnglish()); controllaConti(); } @@ -322,7 +322,7 @@ $(document).on("keyup change", "input[id*=avere]", function() { let row = $(this).parent().parent(); if (!$(this).prop("disabled")) { - row.find("input[id*=dare]").prop("disabled", !!$(this).val()); + row.find("input[id*=dare]").prop("disabled", $(this).val().toEnglish()); controllaConti(); }