summaryrefslogtreecommitdiffstats
path: root/autotest-checkers.sh
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-12-07 04:59:29 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-12-07 15:38:46 +0100
commit9b1f3b969e8c273d86901432421189295383d81f (patch)
treefb61cf9990886de5b0ff0235970b8fb56c55798c /autotest-checkers.sh
parentc43f64d56b517e061ceb48e30ebaa48cc7866236 (diff)
downloadnextcloud-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 'autotest-checkers.sh')
0 files changed, 0 insertions, 0 deletions