Fix selezione lista fatture in bozza

This commit is contained in:
loviuz 2020-06-01 14:30:25 +02:00
parent 96c92d13d8
commit d944399d1f
1 changed files with 32 additions and 31 deletions

View File

@ -85,8 +85,8 @@ if ($dir == 'entrata') {
$(document).ready(function () { $(document).ready(function () {
$("#idanagrafica_add").change(function () { $("#idanagrafica_add").change(function () {
var data = $(this).selectData(); var data = $(this).selectData();
console.log(data)
if (data !== undefined) {
if (!data.id){ if (!data.id){
$("#info").addClass("hidden"); $("#info").addClass("hidden");
return; return;
@ -117,6 +117,7 @@ $(document).ready(function () {
} }
} }
}); });
}
}) })
}) })
</script>'; </script>';