|
[
Permlink
| « Hide
]
Ted Goddard added a comment - 23/Mar/10 12:06 PM
Standard browser behavior is to click on a random button within the form to submit via enter key. This is not the behavior of ICEfaces 1.x, so we should describe that mechanism (likely JavaScript implementation) here.
The fix for
Re-opening as the behaviour is back. Create a simple compat page with the code in the description, you can see both actions being called when the Enter key is pressed while focus is in the inputText field.
Modified ice.s and ice.ss functions to cancel the default action when enter key is pressed. This way the event won't trigger a form submit anymore.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||