prototypejs / prototype

Prototype JavaScript framework
http://prototypejs.org/
Other
3.54k stars 640 forks source link

onSuccess/Failure not dispatched to Ajax.Responders #247

Open epochcoder opened 10 years ago

epochcoder commented 10 years ago

this is a duplicate issue from a lighthouse ticket, with the relevant comment being:

An upcoming revamp of ajax.js should/will include making the requests dispatch custom events and deprecating Ajax.Responders. We can keep current responders alive (maybe in a separate plugin) for backwards compatibility. These would just be listening for custom events on the document. As this should be deprecated, we should no longer be modifying or adding to its API.

However, this is still an issue for me, and imho is a bug, as it is quite important to globally listen for onFailure events

savetheclocktower commented 9 years ago

Next major version will focus on Ajax.