reveloper/pomodorocrate — pull request #9 by jperville (2012-07-24 01:38:12+00:00)
Title: ajax:success events with RAILS_RELATIVE_URL_ROOT

Fixes for the many issues with ajax:success events when running on RAILS_RELATIVE_URL_ROOT. After applying the pull requests it should be again possible to "do today" an activity, delete one, remove from "todotoday", add manual tomatos or void current tomato and have all widgets be updated in-place.

The breakage reason was that in application.js.erb the ajax:success events are bound using a selector that only matches absolute urls from virtualhost root; hence the ajax:success events never triggered when running under a prefix such as "/ketchup".