nextcloud/apps/files/js
Vincent Petry 809e305444
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-11 17:48:03 +01:00
..
templates Fix mainfileinfodetailsview appending 2021-11-19 13:42:40 +00:00
app.js Trigger "changeDirectory" even on URL change 2022-01-11 17:48:03 +01:00
breadcrumb.js refs #21263 round numbers when checking if breadcrumbs should be hidden 2021-07-28 16:40:14 +02:00
detailfileinfoview.js Make file actions work from sidebar 2015-08-12 17:30:20 +02:00
detailsview.js Fix rendering of the sidebar in Files app 2018-11-22 05:58:25 +01:00
detailtabview.js Merge pull request #11647 from nextcloud/make-possible-for-tab-views-to-add-css-classes-to-their-container 2018-10-31 15:37:48 +01:00
favoritesfilelist.js Use DOMContentLoaded and fix sharebymail loading issue 2020-07-20 12:42:08 +02:00
favoritesplugin.js Fix jsdocs build on server repo 2018-10-24 15:41:08 +02:00
file-upload.js refs #11864 handle empty dir drop in Files UI 2021-11-08 12:22:57 +01:00
fileactions.js adding action.filename to FileActions 2021-10-08 08:28:05 -01:00
fileactionsmenu.js adding action.filename to FileActions 2021-10-08 08:28:05 -01:00
fileinfomodel.js added quit option in commentstabview.js 2017-03-23 13:12:29 -06:00
filelist.js Trigger "changeDirectory" even on URL change 2022-01-11 17:48:03 +01:00
filemultiselectmenu.js Do not rerender the selection menu on show 2020-01-08 16:09:53 +01:00
files.js l10n: Unify spelling 2021-05-20 09:22:07 +02:00
filesummary.js l10n: Replace the apostrophe with double quotation 2021-05-06 14:45:33 +02:00
gotoplugin.js do not trigger events when setting active view in gotoplugin 2021-12-07 14:34:48 +01:00
jquery-visibility.js update jquery-visibility in files app 2015-08-17 09:39:21 +02:00
jquery.fileupload.js refs #11864 handle empty dir drop in Files UI 2021-11-08 12:22:57 +01:00
keyboardshortcuts.js Fixed many issues, clean up 2014-05-15 17:51:04 +02:00
mainfileinfodetailview.js adding action.filename to FileActions 2021-10-08 08:28:05 -01:00
merged-index.json Remove outdated legacy search scripts 2020-08-04 20:56:22 +02:00
navigation.js Add drop zone for favorites quick access in navigation 2019-02-01 01:45:03 +01:00
newfilemenu.js Fix container element for newFileMenu tooltip 2021-10-06 12:23:06 +02:00
operationprogressbar.js update tooltip content dynamically 2019-10-23 17:25:27 +02:00
recentfilelist.js Use DOMContentLoaded and fix sharebymail loading issue 2020-07-20 12:42:08 +02:00
recentplugin.js Fix jsdocs build on server repo 2018-10-24 15:41:08 +02:00
semaphore.js Fix public upload by also load the semaphore method 2019-05-07 23:48:06 +02:00
sidebarpreviewmanager.js Always show full previews 2019-03-27 13:29:58 +01:00
sidebarpreviewtext.js Do not fetch the whole text file for the sidebar preview 2017-08-03 20:32:59 +02:00
tagsplugin.js Fix favorite dark icon 2021-02-02 13:48:18 +01:00
templates.js Fix mainfileinfodetailsview appending 2021-11-19 13:42:40 +00:00
upload.js Improved Javascript docs for JSDoc 2014-10-31 13:43:30 +01:00