Skip to content

Commit

Permalink
[importer] same file re-upload (#2970)
Browse files Browse the repository at this point in the history
  • Loading branch information
agl29 committed Sep 14, 2022
1 parent 4299472 commit c686136
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions desktop/libs/indexer/src/indexer/templates/importer.mako
Original file line number Diff line number Diff line change
Expand Up @@ -3225,6 +3225,10 @@ ${ commonheader(_("Importer"), "indexer", user, request, "60px") | n,unicode }
$(window).on('resize', resizeElements);
document.getElementById('inputfile').onclick = function () {
this.value = null;
};
document.getElementById('inputfile').onchange = function () {
upload();
};
Expand Down

0 comments on commit c686136

Please sign in to comment.