Clear files after getting the value
This commit is contained in:
parent
8c9416d70d
commit
db7e179626
@ -557,6 +557,9 @@ async function onDictionaryPurge(e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function onDictionaryImport(e) {
|
async function onDictionaryImport(e) {
|
||||||
|
const files = [...e.target.files];
|
||||||
|
e.target.value = null;
|
||||||
|
|
||||||
const dictFile = $('#dict-file');
|
const dictFile = $('#dict-file');
|
||||||
const dictControls = $('#dict-importer').hide();
|
const dictControls = $('#dict-importer').hide();
|
||||||
const dictProgress = $('#dict-import-progress').show();
|
const dictProgress = $('#dict-import-progress').show();
|
||||||
@ -577,8 +580,6 @@ async function onDictionaryImport(e) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const files = [...e.target.files];
|
|
||||||
|
|
||||||
const optionsFull = await apiOptionsGetFull();
|
const optionsFull = await apiOptionsGetFull();
|
||||||
|
|
||||||
const importDetails = {
|
const importDetails = {
|
||||||
|
Loading…
Reference in New Issue
Block a user