Skip to main content

So, I tested this same code a couple days ago and it was working fine.

Today I started getting this uncaught typeError.



No Idea why this is occurring.

I get a reference to the calendar object.

Try to set the currentView property and then call the refresh() method to update it.


It worked before!!! 🙂


Any thoughts

I think you got this figured out, but in case you didn’t the issue is in this console line: myco2.currentview = “weekview”. The currentview property can only be “week”, “month”, or “dayscheduling”.

Thanks!
Amy


Reply