server/settings/js
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
..
settings Hide delete button if the avatar is a generated one 2017-12-19 18:49:26 +01:00
users Close menu on "mouseup" instead of on "click" events in the document 2018-01-03 06:24:51 +01:00
admin.js Don't send the test mail twice 2017-04-24 12:50:29 +02:00
apps.js Fix mail attribute 2018-01-02 09:47:54 +01:00
authtoken.js Use OC.Backbone instead of Backbone directly in authtoken JS code 2016-06-23 18:26:01 +02:00
authtoken_collection.js sort tokens 2016-07-20 15:59:00 +02:00
authtoken_view.js Use correct l10n for app password menu 2017-08-21 09:18:49 +02:00
certificates.js Use tooltip for ssl certs table 2016-07-13 10:00:02 +02:00
federationscopemenu.js Fix translation of federation scope menu 2017-11-30 11:13:16 +01:00
federationsettingsview.js display error icon on non-success 2017-08-08 16:30:48 +02:00
log.js Add user ID to log entries in admin page 2016-06-10 15:38:21 +02:00
settings.js Enable the toggleSelect extension in multi-select dropdowns 2017-07-10 03:38:22 +02:00
usersettings.js use PUT to update user settings 2016-11-21 11:29:38 +01:00