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 (Closed) (JIRA)" <ji...@apache.org> on 2011/10/25 19:12:32 UTC

[jira] [Closed] (TAP5-1721) A JavaScript typo prevents the error icon for fields containing validation errors from appearing

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

Howard M. Lewis Ship closed TAP5-1721.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.3
    
> A JavaScript typo prevents the error icon for fields containing validation errors from appearing
> ------------------------------------------------------------------------------------------------
>
>                 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
>             Fix For: 5.3
>
>
> 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