#4308 Stop edit routine form being submitted with enter

Signed-off-by: Umair Khan <omerjerk@gmail.com>
Merge pull request #993 from omerjerk/QA_4_1

#4308 Stop edit routine form being submitted with enter