Return-Path: X-Original-To: apmail-tapestry-dev-archive@www.apache.org Delivered-To: apmail-tapestry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A5222EB9D for ; Sat, 9 Feb 2013 23:49:13 +0000 (UTC) Received: (qmail 30288 invoked by uid 500); 9 Feb 2013 23:49:12 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 30135 invoked by uid 500); 9 Feb 2013 23:49:12 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 30125 invoked by uid 99); 9 Feb 2013 23:49:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Feb 2013 23:49:12 +0000 Date: Sat, 9 Feb 2013 23:49:12 +0000 (UTC) From: "Dustin Woods (JIRA)" To: commits@tapestry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (TAP5-2068) Add type="button" to buttons used to close alerts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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. From: element = builder("div", { "class": className }, ["button.close", "\u00d7"], content); To: element = builder("div", { "class": className }, ["button.close", { "type":"button" }, "\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