[
https://issues.jboss.org/browse/JBSEAM-4648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662890#comment-12662890
]
ahus1 commented on JBSEAM-4648:
-------------------------------
Hi, there is a forum reference here that offers a solution for this:
http://seamframework.org/Community/SdefaultActionBlocksNewlinesInTextarea
> s:defaultAction blocks new lines in <textArea>
> ----------------------------------------------
>
> Key: JBSEAM-4648
> URL: https://issues.jboss.org/browse/JBSEAM-4648
> Project: Seam 2
> Issue Type: Bug
> Components: JSF Controls
> Affects Versions: 2.2.1.CR1
> Reporter: Adrian Mitev
>
> s:defaultAction shouldn't work if the enter button is presses inside textarea
> element. To fix the issue wrap the javascript that s:defaultAction generates
> inside this code:
> var evt = event.IE ? event.srcElement : event.target; if
> (evt.tagName.toLowerCase() != 'textarea') { <original javascript here> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
seam-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/seam-issues