]> source.dussan.org Git - nextcloud-server.git/commit
Prevent share dropdown to close too early with autocomplete
authorVincent Petry <pvince81@owncloud.com>
Mon, 7 Oct 2013 11:25:30 +0000 (13:25 +0200)
committerVincent Petry <pvince81@owncloud.com>
Mon, 7 Oct 2013 11:26:46 +0000 (13:26 +0200)
commite97aaee1aac6ab81d404e264b86b65357bda96ac
tree7aceee089ad32d82e9d8f2a3133b0ae02a596595
parent68fbd7b92241daf1326c9a95331d4fdb5ca030e6
Prevent share dropdown to close too early with autocomplete

When clicking on an autocomplete result in the sharing dropdown,
it will mistakenly be detected as being clicked outside and would
trigger the sharing dropdown closing.

This fix adds a check to detect clicks inside the autocomplete and
prevent closing the dropdown in that case.

This fixes #4142
core/js/share.js