SAK-27992 prevent stack traces when hitting enter key multiple times when entering grades in several UIs; patch from Brian B.

git-svn-id: https://source.sakaiproject.org/svn/gradebook/trunk@314595 66ffb92e-73f9-0310-93c1-f5514f145a0a