diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-12-07 04:59:29 +0100 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-12-07 15:38:46 +0100 |
commit | 9b1f3b969e8c273d86901432421189295383d81f (patch) | |
tree | fb61cf9990886de5b0ff0235970b8fb56c55798c /apps/comments/l10n/pl.json | |
parent | c43f64d56b517e061ceb48e30ebaa48cc7866236 (diff) | |
download | nextcloud-server-9b1f3b969e8c273d86901432421189295383d81f.tar.gz nextcloud-server-9b1f3b969e8c273d86901432421189295383d81f.zip |
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>
Diffstat (limited to 'apps/comments/l10n/pl.json')
0 files changed, 0 insertions, 0 deletions