[ 
https://issues.apache.org/jira/browse/WICKET-2854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903019#action_12903019
 ] 

Hudson commented on WICKET-2854:
--------------------------------

Integrated in Apache Wicket 1.4.x #124 (See 
[https://hudson.apache.org/hudson/job/Apache%20Wicket%201.4.x/124/])
    Issue: WICKET-2854


> 'this.document' is null or not an object after quickly opening and closing a 
> modal window (modal.js)
> ----------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-2854
>                 URL: https://issues.apache.org/jira/browse/WICKET-2854
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>         Environment: IE 7 and maybe more IE versions
>            Reporter: Barrett Snyder
>            Assignee: Igor Vaynberg
>            Priority: Minor
>             Fix For: 1.4.11, 1.5-M2
>
>
> When opening a modal window that allows closing by clicking anywhere outside 
> of the window it will sometimes give a javascript error stating 
> "'this.document' is null or not an object" on line 915 or 916 of modal.js 
> which is within the disableTabs function. This is a timing issue due to using 
> setTimeout to hookup some modal preparation functions. The problem is that 
> the modal is closing prior to these timeouts firing and then when the 
> timeouts fire the document is null. So this.document returns null. A possible 
> fix might be to clear the timeouts on window close.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to