summaryrefslogtreecommitdiffstats
path: root/apps/admin_audit
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-01-11 12:17:23 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2022-01-12 13:56:58 +0000
commit672669ca98b1299821fc52d5fd393016b8a3b87f (patch)
tree0ffb709fe9d0c5e7fef1d7240803559416e49cc0 /apps/admin_audit
parentb8957cd6f3b684a676047e90783db4921cd7ed93 (diff)
downloadnextcloud-server-672669ca98b1299821fc52d5fd393016b8a3b87f.tar.gz
nextcloud-server-672669ca98b1299821fc52d5fd393016b8a3b87f.zip
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>
Diffstat (limited to 'apps/admin_audit')
0 files changed, 0 insertions, 0 deletions