In scheduler we need an event to be called after the update_view function. I added the line to the end of that function “this.callEvent(“onAfterUpdateView”);” which works fine in all browsers except for IE 7 and IE 8. is there something else that will need to be done to make this work?
The error I get is “SCRIPT5007: Function.prototype.apply: argument is null or undefined”
Hello,
First of all you can use scheduler.setCurrentView() which call onBeforeViewChange and onViewChange events.
And for error message - this.callEvent(“onAfterUpdateView”)
should be called like
this.callEvent(“onAfterUpdateView”, [])
Best regards,
Ilya
Thank you calling the event with an empty array worked. Thank you