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


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.

@fieg fieg closed this May 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment