tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TAP5-1721) A JavaScript typo prevents the error icon for fields containing validation errors from appearing
Date Tue, 25 Oct 2011 17:10:32 GMT

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

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

    Summary: A JavaScript typo prevents the error icon for fields containing validation errors
from appearing  (was: javascript error: ( this.com != this.icon ))
    
> 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
>
> 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

        

Mime
View raw message