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

Hudson commented on WICKET-3403:
--------------------------------

Integrated in Apache Wicket 1.4.x #438 (See 
[https://hudson.apache.org/hudson/job/Apache%20Wicket%201.4.x/438/])
    WICKET-3403 Cannot convert 'this.content' to object in Opera

First set the onload handler and then update the iframe's location.
Additionally bind onload to this so it is possible to get a reference to 
this.content (the iframe).


> Cannot convert 'this.content' to object in Opera
> ------------------------------------------------
>
>                 Key: WICKET-3403
>                 URL: https://issues.apache.org/jira/browse/WICKET-3403
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.13
>         Environment: Opera 11.01, Windows XP SP3 (client side)
>            Reporter: Karel Behounek
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 1.4.16, 1.5-RC2
>
>
> I get the error "Uncaught exception: TypeError: Cannot convert 'this.content' 
> to object" in Opera every time I try to open some modal window, the 
> problematic code seems to be the following part of modal.js script:
>  if (Wicket.Browser.isOpera()) {
> this.content.onload = function() {
> this.content.contentWindow.name = this.settings.iframeName;
> }
> } else {
> this.content.contentWindow.name = this.settings.iframeName;
> }
> I am just an end-user, the above information was reported by Opera Dragonfly 
> (error found on line 422 of modal.js). Priority is minor - I cannot use Opera 
> with our in-house wicked-based IS (it heavily depends on modal windows), but 
> I can use alternate browsers like Firefox or Chrome which are not affected.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to