nextcloud/apps/files
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
..
ajax Update php licenses 2021-06-04 22:02:41 +02:00
appinfo Bump app version 2021-09-29 10:07:22 +02:00
composer Add missing files for Composer v2 2021-08-16 08:25:35 +02:00
css Fix uploading text position 2022-01-04 08:49:38 +00:00
img compress some images with tinypng.com 2020-05-22 13:07:11 +00:00
js Trigger "changeDirectory" even on URL change 2022-01-12 13:52:55 +00:00
l10n [tx-robot] updated from transifex 2021-12-25 02:27:26 +00:00
lib Limit more contact searches 2021-12-13 14:23:04 +00:00
src Fix JS tests after test lib updates 2022-01-10 17:42:19 +01:00
templates Fix "No entries in this …" template 2021-10-26 10:58:25 +02:00
tests fix tests 2021-12-06 01:11:44 +01:00
.l10nignore Ignored compiled js files in files 2019-11-01 08:29:41 +01:00
list.php Update php licenses 2021-06-04 22:02:41 +02:00
recentlist.php Update php licenses 2021-06-04 22:02:41 +02:00
simplelist.php Update php licenses 2021-06-04 22:02:41 +02:00
webpack.js Move to combined files entrypoint 2021-10-26 10:51:42 +02:00