You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (Assigned) (JIRA)" <ji...@apache.org> on 2011/10/25 19:10:32 UTC

[jira] [Assigned] (TAP5-1721) javascript error: ( this.com != this.icon )

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

Howard M. Lewis Ship reassigned TAP5-1721:
------------------------------------------

    Assignee: Howard M. Lewis Ship
    
> javascript error: ( this.com != this.icon )
> -------------------------------------------
>
>                 Key: TAP5-1721
>                 URL: https://issues.apache.org/jira/browse/TAP5-1721
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3
>            Reporter: Pedro Ayala
>            Assignee: Howard M. Lewis Ship
>              Labels: error, javascript, validation
>
> Tapestry is unable to find the icon and put it in the error message.
> In FieldEventManager in tapestry.js the local variable to store the icon should be "icon" and not "com". 
> Tapestry.FieldEventManager = Class.create({
> ...
> getIcon : function() {
>         if (!this.icon) {
>             this.com = $(this.field.id + "_icon");
>         }
>         return this.icon;
>     },
> ...

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