nextcloud/apps
Vincent Petry 67baa7662a Trigger "changeDirectory" even on URL change
When using the browser back button or clicking on sections on the left
sidebar (like favorites), the "changeDirectory" jQuery event did not get
called, so apps like recommendations would not notice the directory
change.

This fixes the issue by also setting changeUrl to true when the file
list's directory got changed as a result from a URL change.

Added optional changedThroughUrl argument to make sure the event
recipient knows if the change was done through a URL change and make it
possible prevent a loop in the onDirectoryChange handler that actually
changes the URL when the origin was already from a URL change.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-12 13:52:55 +00:00
..
accessibility [tx-robot] updated from transifex 2021-12-30 02:28:14 +00:00
admin_audit [tx-robot] updated from transifex 2021-11-17 02:45:47 +00:00
cloud_federation_api [tx-robot] updated from transifex 2022-01-12 02:27:09 +00:00
comments [tx-robot] updated from transifex 2022-01-12 02:27:09 +00:00
contactsinteraction [tx-robot] updated from transifex 2022-01-12 02:27:09 +00:00
dashboard [tx-robot] updated from transifex 2022-01-11 02:27:16 +00:00
dav [tx-robot] updated from transifex 2022-01-10 02:26:44 +00:00
encryption [tx-robot] updated from transifex 2022-01-08 02:26:35 +00:00
federatedfilesharing [tx-robot] updated from transifex 2022-01-12 02:27:09 +00:00
federation [tx-robot] updated from transifex 2021-11-02 02:22:28 +00:00
files Trigger "changeDirectory" even on URL change 2022-01-12 13:52:55 +00:00
files_external [tx-robot] updated from transifex 2022-01-12 02:27:09 +00:00
files_sharing [tx-robot] updated from transifex 2022-01-12 02:27:09 +00:00
files_trashbin Don't die with LockedException when removing/restoring multiple files from trash 2021-12-23 10:33:38 +00:00
files_versions [tx-robot] updated from transifex 2021-10-23 02:22:43 +00:00
lookup_server_connector [tx-robot] updated from transifex 2022-01-12 02:27:09 +00:00
oauth2 [tx-robot] updated from transifex 2021-11-26 02:46:22 +00:00
provisioning_api [tx-robot] updated from transifex 2021-12-08 02:28:53 +00:00
settings [tx-robot] updated from transifex 2022-01-12 02:27:09 +00:00
sharebymail Limit more contact searches 2021-12-13 14:23:04 +00:00
systemtags Fix JS tests after test lib updates 2022-01-10 17:42:19 +01:00
testing Bump app version 2021-09-29 10:07:22 +02:00
theming [tx-robot] updated from transifex 2021-12-16 02:27:59 +00:00
twofactor_backupcodes [tx-robot] updated from transifex 2021-12-12 02:28:29 +00:00
updatenotification [tx-robot] updated from transifex 2021-12-08 02:28:53 +00:00
user_ldap [tx-robot] updated from transifex 2022-01-07 02:28:15 +00:00
user_status [tx-robot] updated from transifex 2022-01-10 02:26:44 +00:00
weather_status [tx-robot] updated from transifex 2022-01-12 02:27:09 +00:00
workflowengine Fix RequestURL check for cli commands 2022-01-12 09:07:20 +00:00