Ticket #11416 (closed bug: invalid)
The .on() binding not work on ajax callback which element is newly created, but .live() works
|Reported by:||leckylao@…||Owned by:||leckylao@…|
.on 'ajax:success', (event, data, status, xhr) =>
Sorry for coffee-script. Basically I bind the link's ajax success callback, it works on existing links but not on newly created link.
However It works on using .live(). And the docs http://api.jquery.com/live/ says .live() is deprecated. Therefore, I assume this is a bug.
- Owner set to leckylao@…
- Status changed from new to pending
- Status changed from pending to closed
- Resolution set to invalid