octobercms/october — pull request #768 by danherd (2014-11-12 14:33:13+00:00)
Title: Fix 'File was changed' modal

I haven't seen any issue filed for this, but if you are editing a template in the backend, change the file on disk and then attempt to save the template in the backend, a modal pops up asking if you want to reload the template from disk or overwrite it.

Unfortunately, neither of those options worked. This fix ensures the correct target is used in the JS click handlers so they actually fire.