fixed no matrice no import
This commit is contained in:
@@ -2303,6 +2303,14 @@ $isEdit = ($worksheet_id > 0);
|
|||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!$('#idmatrice').val()) {
|
||||||
|
Swal.fire({
|
||||||
|
icon: 'warning',
|
||||||
|
title: 'Seleziona prima la matrice',
|
||||||
|
text: 'Scegli la matrice / profilo, poi importa l’Excel.'
|
||||||
|
}).then(() => $('#idmatrice').select2('open'));
|
||||||
|
return;
|
||||||
|
}
|
||||||
$('#xlsxImportInput').val('').click();
|
$('#xlsxImportInput').val('').click();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user