Corretto bug "carica stessa query"

This commit is contained in:
Luca Trupiano 2023-04-20 16:53:06 +02:00
parent 4705e91ac3
commit 864c368c10
1 changed files with 5 additions and 2 deletions

View File

@ -392,9 +392,12 @@ $(document).ready(function() {
queryJson = JSON.parse(data.target.result)
makeUpGui(queryJson);
};
if (file) {reader.readAsText(file);}
if (file !== '') {
reader.readAsText(file);
$("#apriFile")[0].value = '';
};
});
// Evento: SCELTA CATEGORIA GRAMMATICALE
$('#cla-TabContent').on('change', 'select.catgram', function(e) {
e.preventDefault();