You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2012/05/02 12:36:52 UTC

[jira] [Updated] (TAP5-1774) T5.dom.observe cannot be used to observe the window object

     [ https://issues.apache.org/jira/browse/TAP5-1774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Kemnade updated TAP5-1774:
---------------------------------

    Affects Version/s: 5.3.3
    
> T5.dom.observe cannot be used to observe the window object
> ----------------------------------------------------------
>
>                 Key: TAP5-1774
>                 URL: https://issues.apache.org/jira/browse/TAP5-1774
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.3.1, 5.3.2, 5.3.3, 5.3
>            Reporter: Jochen Kemnade
>            Priority: Minor
>              Labels: javascript, patch
>         Attachments: 0001-fix-T5.dom.observe-not-working-on-the-window-object.patch
>
>
> t5-prototype uses $(element).on(... to create an event handler. This will not work when trying to observe the window object as it is not an Element. Using Event.on(element,...fixes this issue.

--
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