rails/jquery-ujs — pull request #211 by bcardarella (2011-10-10 21:31:25+00:00)
Title: Failing test case for ajax:beforeSend on a nested link

When a data-remote link is nested inside a form when the ajax:beforeSend
event is triggered on that link it is also triggering the
ajax:beforeSend event on the parent form.

I'm sorry I don't know how to fix this as I gladly would but I thought having the failing
test case would go a long way to getting this fixed. (or at the very least explained)

If the answer is 'links should not be nested inside a form' normally I would agree. However,
I also do not think that when a targeted element's triggered that it should also be triggering another element's event. This feels wrong.