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,7 +392,10 @@ $(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