]> git.openstreetmap.org Git - rails.git/commit
Make remote edit work when /edit is loaded
authorTom Hughes <tom@compton.nu>
Thu, 5 Dec 2013 10:40:21 +0000 (10:40 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 5 Dec 2013 10:40:21 +0000 (10:40 +0000)
commit6670de16a1981144869d7132e0bcc94a3b804513
tree179d78f8e04c376faa36698438d903321655584c
parenta51b4c869ec767521de3332d5e2bd3541d79e7c5
Make remote edit work when /edit is loaded

Change detection of the edit request to use the URL as the class
will not be set on the body now, and force the router to think we
actually loaded the normal view.
app/assets/javascripts/index.js
app/assets/javascripts/router.js