We are having an issue where the callback provided to ajax.reload() is being called before the DOM is completely reloaded. The reason I know this is because in the callback we attach click events and they stop working. If I wrap the reload in setTimeout() to delay the execution by 5 seconds then it works. Any ideas of why this is happening? I never have this issue with the initial page load using the "initComplete" function.
↧