server/settings
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
..
Activity Get correct translations for SecurityProvider 2018-01-02 09:46:53 +01:00
ajax Also replace all other occurences 2017-12-18 20:57:11 +01:00
BackgroundJobs Update license headers 2017-11-06 16:56:19 +01:00
Controller Add warning regarding freetype support 2017-12-13 17:20:48 +01:00
css Add variable for border-radius 2017-11-03 14:08:21 +01:00
img Make user-related icons bigger. 2017-11-20 17:28:25 +01:00
js Close menu on "mouseup" instead of on "click" events in the document 2018-01-03 06:24:51 +01:00
l10n [tx-robot] updated from transifex 2017-12-11 01:10:20 +00:00
Mailer Fix welcome text for better grammar in themed instances 2017-11-09 09:27:38 +01:00
Middleware Remove explicit type hints for Controller 2017-08-01 17:32:03 +02:00
templates Merge pull request #6788 from staabm/master 2017-11-08 18:55:35 +01:00
tests/js Sort apps by enabled/disabled but not by official/in-appstore in App Management 2017-09-10 20:50:22 -07:00
Application.php Update license headers 2017-11-06 16:56:19 +01:00
help.php Update with robin 2016-07-21 18:13:58 +02:00
Hooks.php Update license headers 2017-11-06 16:56:19 +01:00
routes.php Change @georgehrke's email 2017-11-06 20:38:59 +01:00
users.php Change @georgehrke's email 2017-11-06 20:38:59 +01:00