You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/07 09:52:29 UTC
[jira] [Resolved] (WICKET-4111) addDomReadyEvent broken for IE
[ https://issues.apache.org/jira/browse/WICKET-4111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-4111.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5.2
1.4.19
Assignee: Martin Grigorov
I reverted WICKET-4080.
Since no one else than Topicus (the reporters of WICKET-4080) had complained about problems in Wicket's domReady() impl and they actually didn't fix their problem completely with WICKET-4080 and then moved to JQuery.ready() I see no reason to fire Wicket's domReady() on 'loaded' state for IE.
> addDomReadyEvent broken for IE
> ------------------------------
>
> Key: WICKET-4111
> URL: https://issues.apache.org/jira/browse/WICKET-4111
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.1
> Environment: IE 7-9
> Reporter: Matthias Piepkorn
> Assignee: Martin Grigorov
> Labels: core, event, ie, javascript
> Fix For: 1.4.19, 1.5.2
>
> Attachments: wicket-qs-domready.zip
>
>
> Wicket.Event.addDomReadyEvent is broken in IE since 1.5.1. I identified WICKET-4080 as the cause of the problem: onreadystatechange with readyState="loaded" is sometimes fired before the document is fully loaded, causing scripts that reference DOM nodes to fail.
> See http://msdn.microsoft.com/en-us/library/ms534359%28v=vs.85%29.aspx for the order of the readystate events.
> The attached quickstart reproduces the issue (you may need to F5 a few times as it does not happen reliably). The actual JS error is:
> SCRIPT5007: The property "onkeydown" has no value: The object is null or undefined
> wicket-autocomplete-ver-1317728550188.js, Line 91 Character 9
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira