This isn't my code. I've moved this from files.js to a new file since DeepDiver asked me for deduplicating this code. I'd assume it's a Jquery event of some sort.