allow for recomparison
allow same files to be reloaded and recompared (let's say your doing a manual merge and want to see the results)
Unfortunately, re-uploading like this does not seem to be possible in JavaScript.
-
But you can't automatically upload files without user intervention (if this were possible, it would be an enormous security flaw). The only way to do something close to this would be to open the Open dialog again and have the user select the same files, but at that point the "reupload" feature offers no benefit.
-
Jim Laskowski commented
That makes no sense at all (I'm also a JavaScript developer). Just keep the same file names in variables and then call the functions that upload load them when the click to re-compare. When the uploads are done, auto-run your comparison algorithm and refresh the page with the results.