Skip to content
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

Render Callback Is Not Executed When Using A Custom Render Function #198

rvtraveller opened this issue May 9, 2015 · 0 comments


None yet
2 participants
Copy link

commented May 9, 2015

When you are using a custom render function, you have the option of returning false to prevent the default IAS render function from also executing. However, the callback to generate the nextUrl (and presumably any other callback) is only executed if the default render function is used. If a custom render function is used, the callback is not called.

Repro for this would look something like the following:

  1. Create an IAS instance and bind your own function to the on('render') event. This function should return false at the end.
  2. Navigate to the page with your custom IAS instance and render event handler.
  3. Observe jQuery.ias().nextUrl does not change.

Pull request coming soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.