New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing success callback call #2
Comments
kolyuchiy
added a commit
that referenced
this issue
Oct 12, 2011
Hi, |
Hi, setTimeout(success, 0); with setTimeout(function (){success.call($this);}, 0); so we are able to pass the affected element to callback via this ? bye |
kolyuchiy
added a commit
that referenced
this issue
Oct 13, 2011
Yes, of course. It's a good suggestion. |
thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I think success callback is not saved in the object
$this.append(markup);
if (typeof success == 'function') {
setTimeout(success, 0);
}
when the method looks for the function, it's is out of scope,
so success cannot be called
The text was updated successfully, but these errors were encountered: