Ajax callbacks not run if element is removed from the page #3467

joeytheman opened this Issue Oct 30, 2011 · 1 comment


None yet
3 participants

Ajax callbacks such as ajax:success are not run if the element that initiated the callback is removed from the page before the ajax call is complete.

Not sure if this is a bug or expected behavior as I did not see it documented anywhere.

fxn closed this Oct 30, 2011

fxn reopened this Oct 30, 2011

I supposed you're using jquery_ujs javascript, which now is in the jquery-rails gem. Could you please verify if that's still an issue, and if it is, open a new tickek it on the jquery-rails issue tracker explaining it? I'm going to close it here, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment