[
https://issues.jboss.org/browse/JBSEAM-4648?page=com.atlassian.jira.plugi...
]
Adrian Mitev edited comment on JBSEAM-4648 at 3/8/11 3:53 AM:
--------------------------------------------------------------
Which is strange because this prevents new lines in textarea.
was (Author: amitev):
Which is strange because this prevents enters in textarea.
s:defaultAction blocks new lines in <textArea>
----------------------------------------------
Key: JBSEAM-4648
URL:
https://issues.jboss.org/browse/JBSEAM-4648
Project: Seam
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.
For more information on JIRA, see:
http://www.atlassian.com/software/jira