summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-10-23 20:21:35 +0200
committerGitHub <noreply@github.com>2018-10-23 20:21:35 +0200
commitf4efa550c3b5443392d80ba2e5c0178a4a608e1e (patch)
treecc74350ebb8a6e40bed2e5dcf6f268786a89c954 /apps/files_trashbin
parentc3919b844be8fdfcbc83d140caa7c338eda20caf (diff)
parent3fbb6e70344116ef3b11c1f8114e8613f3172539 (diff)
downloadnextcloud-server-f4efa550c3b5443392d80ba2e5c0178a4a608e1e.tar.gz
nextcloud-server-f4efa550c3b5443392d80ba2e5c0178a4a608e1e.zip
Merge pull request #11996 from nextcloud/stable13-11967-fix-opening-a-section-again-in-the-files-app
[stable13] Fix opening a section again in the Files app
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/js/app.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/files_trashbin/js/app.js b/apps/files_trashbin/js/app.js
index fd3d5db32ff..c37de63097c 100644
--- a/apps/files_trashbin/js/app.js
+++ b/apps/files_trashbin/js/app.js
@@ -30,7 +30,11 @@ OCA.Trashbin.App = {
fileActions: this._createFileActions(),
detailsViewEnabled: false,
scrollTo: urlParams.scrollto,
- config: OCA.Files.App.getFilesConfig()
+ config: OCA.Files.App.getFilesConfig(),
+ // The file list is created when a "show" event is handled, so
+ // it should be marked as "shown" like it would have been done
+ // if handling the event with the file list already created.
+ shown: true
}
);
},