search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Javascript Error in Version 7

Asked by Kyle
11 years ago.

Hello,
I am noticing a frequent Javascript error. IE shows this message: Line: 2
Error: Unable to get value of the property 'style': object is null or undefined

When I step into the debugger, this line is highlighted:
this.nav.mid.style.height=this.totalHeaderHeight()+"px"

I haven't been able to determine any possible causes from a data standpoint.

I notice this issue in both DayPilotMonth and DayPilotCalendar controls.

Thanks.

Answer posted by Dan Letecky [DayPilot]
11 years ago.

This error (Calendar) should be fixed now in build 2657. You can download it in the sandbox:

http://www.daypilot.org/sandbox/

The Month control doesn't use a reference to this.nav.mid at all. If you are still seeing a JavaScript error with this new build, can you please post the error message?

Answer posted by Kyle
11 years ago.

That solved the problem for me. Thanks.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.