Revert "Merge pull request #14836 from EragonJ/bug-948847"

This reverts commit 27f6ac2b5591dace72951baebde2345422b6f1e5.
Bug 946106 - [fugu][buri]pressing enter on the keyboard does not save alarm. r=mcav