nextcloud/settings/js/users
Daniel Calviño Sánchez 160e1e1882 Close menu on "mouseup" instead of on "click" events in the document
"click" events are handled by several elements in user settings, and
some of them (like the edit icon in the user name) stop the propagation
of the event. Due to this the event never reaches the document and thus
the menu was not closed in those cases. "click" events are always
preceded by "mouseup" events (as "click" events are generated when
"mousedown" and "mouseup" events occur in the same element), so now the
menu is closed when a "mouseup" is received in the document.

The described problem would happen too if an element stopped the
propagation of the "mouseup" event; currently no element does that in
the user settings, so now the menu is always closed as expected.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-01-03 06:24:51 +01:00
..
deleteHandler.js Fix some jshint errors in settings/users 2016-08-19 10:46:42 +02:00
filter.js use the main search box to filter users in user management 2015-08-05 17:29:20 +02:00
groups.js Fix deletion feedback 2017-10-21 21:10:48 +02:00
users.js Close menu on "mouseup" instead of on "click" events in the document 2018-01-03 06:24:51 +01:00