Post on enter key refs #154

This fix is came from mallowlabs secret branch.
Fix test case refs #154
Merge pull request #155 from codefirst/id/154

Post on enter key refs #154