Categories | Question details Back To List | ||
Moving the mouse over the header quickly may cause 'Object required' script error in IE Hi, The changeCursorState is called by the hdr.onmousemove event handler. It is trying to get the parent TD element for the element the event is for. However, in some cases the provided element is actually outside the header and there is no parent TD element which results into an 'Object required' (null) script error. This happened in the IE when the mouse was quickly moved to the left (probably easier reproduceable on a slow machine or while debugging). This can be fixed by replacing: if (el.tagName != "TD") el = this.getFirstParentOfType(el, "TD"); with: if (el.tagName != "TD") { el = this.getFirstParentOfType(el, "TD"); if (el == null) { // parent not found for the element, el could be the top level 'HTML' element return "default"; } } Kind Regards Daniel Answer posted by Support on Mar 03, 2009 05:30 Similar fix was added to main codebase and will be released as part of oncoming build. Thanks for your remark. |