Problems with AJAX and bind

I have a list of topics which is loaded as a partial into a div.

Each topic has a destroy action and an id. It works great to add topics and also to delete, except that I can't make the loader symbol to stop running.

I guess do to the fact that the link, the initializer, of the data-remote action is destroy so it doesn't know when to run 'ajax:success'.

How should I deal with this problem?

Solved it:

$('a[data-method="delete"]').live('ajax:success', function(){   StopLoader() });