nextcloud/core/src/OC
Daniel Calviño Sánchez cb93af6675
Ignore Enter key up event on menu button toggles
Like links, buttons generate a "click" event as well as the regular
"keydown" and "keyup" events when pressing Enter. Due to this, if both
the "click" and the "keyup" events are handled, when the menu is open
and Enter is pressed in the toggle the menu is first hidden when the
first event is handled, but then shown again when the second event is
handled. To prevent that only the "click" event should be handled when
the toggle is a button, like it is already done with links.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 09:46:02 +02:00
..
contactsmenu Show contacts app mgmt link in contacts menu 2019-06-27 09:33:27 +02:00
admin.js Deprecate oc_isadmin and move OC.isUserAdmin() to the bundle 2019-05-03 15:49:49 +02:00
appconfig.js Move initCore to the bundle 2019-05-10 13:47:21 +02:00
apps.js Remove unneeded sidebar animation 2019-02-28 16:09:33 +01:00
appsettings.js Move OC.appSettings to the bundle and deprecate it 2019-05-14 22:00:22 +02:00
appswebroots.js Move OC.appswebroots to the bundle and deprecate oc_appswebroots 2019-05-07 14:03:14 +02:00
backbone-webdav.js Use Backbone.noConflict in the bundle as well 2019-01-31 08:47:30 +01:00
backbone.js Use Backbone.noConflict in the bundle as well 2019-01-31 08:47:30 +01:00
capabilities.js Move OC.getCapabilities to the bundle and deprecate OC._capabilities, oc_capabilities 2019-05-13 21:30:01 +02:00
config.js Move oc_config to the bundle 2019-05-02 09:42:32 +02:00
constants.js Move rest of contant-like OC props to the bundle 2019-05-07 18:11:08 +02:00
contactsmenu.js Show contacts app mgmt link in contacts menu 2019-06-27 09:33:27 +02:00
currentuser.js Revert displayName casing 2019-05-11 10:35:58 +02:00
debug.js Move oc_debug to the bundle 2019-05-06 10:12:47 +02:00
dialogs.js filepicker: Add option to also choose folders without a mimetype limit 2019-08-21 16:59:49 +02:00
eventsource.js Move OC.requestToken to the bundle, deprecate oc_requesttoken 2019-05-13 08:27:43 +02:00
get_set.js Move OC.get and OC.set to the bundle 2019-05-07 09:22:47 +02:00
host.js Move OC host/port/protocol helpers to the bundle and deprecate them 2019-05-14 08:36:54 +02:00
index.js Move legacy Ajax error handling logic to the bundle 2019-05-15 10:40:15 +02:00
l10n-registry.js Fix js l10n registration to also work with more than one bundle 2019-06-26 10:07:21 +02:00
l10n.js Fix js l10n registration to also work with more than one bundle 2019-06-26 10:07:21 +02:00
legacy-loader.js Move the legacy OC.addScript and OC.addStyle helpers to the bundle 2019-05-08 19:58:43 +02:00
menu.js Ignore Enter key up event on menu button toggles 2019-08-28 09:46:02 +02:00
msg.js Move OC.msg to the server bundle 2019-02-01 07:56:38 +01:00
navigation.js Deprecate window.location wrappers for redirect and reload 2019-06-25 21:39:37 +02:00
notification.js Fix default timeouts in OC.Notification 2019-07-26 18:46:59 +02:00
password-confirmation.js Move OC.PasswordConfirmation to the server bundle 2019-02-01 08:24:13 +01:00
path.js Move path helpers to the bundle 2019-05-13 16:37:38 +02:00
plugins.js Move OC.Plugin to the server bundle 2019-02-01 07:58:07 +01:00
query-string.js Move query string helpers to the bundle 2019-05-14 18:18:31 +02:00
requesttoken.js Move OC.requestToken to the bundle, deprecate oc_requesttoken 2019-05-13 08:27:43 +02:00
routing.js dont use deprecated oc_config in url generation 2019-05-20 14:01:14 +02:00
search.js Move OC.search to the server bundle 2019-02-01 08:22:49 +01:00
theme.js Move OC.theme to the bundle and deprecate oc_defaults 2019-05-14 11:14:29 +02:00
util-history.js Add OC.Util to the server bundle 2019-02-01 08:25:01 +01:00
util.js Make chunkify an internal function to prevent context errors 2019-02-01 08:51:46 +01:00
webroot.js Move oc_webroot, OC.webroot and OC.getRootPath() to the bundle 2019-05-06 17:55:30 +02:00
xhr-error.js Move legacy Ajax error handling logic to the bundle 2019-05-15 10:40:15 +02:00