summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-09-28 15:15:49 +0200
committerRobin Appelman <robin@icewind.nl>2017-09-28 15:15:49 +0200
commita448d34d34ec1fc0f738865e99e9398077b32f5d (patch)
tree9a13a35b4d8ee0f697e92714ab80d42e2a588578 /apps/files
parent1c2da7d7d38d3bffef1ff2396edab65e9d3370b8 (diff)
downloadnextcloud-server-a448d34d34ec1fc0f738865e99e9398077b32f5d.tar.gz
nextcloud-server-a448d34d34ec1fc0f738865e99e9398077b32f5d.zip
navigate to the root directory when showing the main filelist
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/filelist.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index fd13deedc0d..cc23ac73979 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -565,6 +565,7 @@
*/
_onShow: function(e) {
if (this.shown) {
+ this._setCurrentDir('/', false);
this.reload();
}
this.shown = true;