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
            Priority: Minor


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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to