diff --git a/js/script_4.3.js b/js/script_4.3.js index f31abb5..dd13542 100644 --- a/js/script_4.3.js +++ b/js/script_4.3.js @@ -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();