tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dustin Woods (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAP5-2068) Add type="button" to buttons used to close alerts
Date Sat, 09 Feb 2013 23:49:12 GMT
Dustin Woods created TAP5-2068:

             Summary: Add type="button" to buttons used to close alerts
                 Key: TAP5-2068
                 URL: https://issues.apache.org/jira/browse/TAP5-2068
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.4
            Reporter: Dustin Woods
            Priority: Minor

Add type="button" to button used to close alerts so the enter key continues to submit the
form if the alerts block is inside a form.

I don't know much about coffeescript but the javascript changes below makes it work for me.

    element = builder("div", {
      "class": className
    }, ["button.close", "\u00d7"], content);

    element = builder("div", {
      "class": className
    }, ["button.close", {
    }, "\u00d7"], content);

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message