nextcloud/apps/comments/tests/js
Daniel Calviño Sánchez 9b1f3b969e Fix Enter sending comment instead of adding autocomplete item to message
When the autocomplete popover is shown the At.js plugin listens on the
message input field for key down events, and when Enter is pressed it
adds the selected item to the message. However, as "_onTypeComment" also
handles key down events for the message input field, when Enter was
pressed the comment was submitted and At.js had no chance to add the
item before that happened. Now when Enter is pressed and the
autocomplete popover is shown the comment is not submitted, and thus
At.js adds the selected item to the message as expected.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-12-07 15:38:46 +01:00
..
commentscollectionSpec.js Reset comments read marker after loading comments 2016-02-03 16:18:14 +01:00
commentstabviewSpec.js Fix Enter sending comment instead of adding autocomplete item to message 2017-12-07 15:38:46 +01:00
filespluginSpec.js Add file row indicator for unread comments 2016-02-03 13:00:55 +01:00