summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-09-28 16:22:13 +0200
committerGitHub <noreply@github.com>2017-09-28 16:22:13 +0200
commitb17ca81df07166fed99afd224cf301b7746df5bb (patch)
tree9a13a35b4d8ee0f697e92714ab80d42e2a588578
parent1c2da7d7d38d3bffef1ff2396edab65e9d3370b8 (diff)
parenta448d34d34ec1fc0f738865e99e9398077b32f5d (diff)
downloadnextcloud-server-b17ca81df07166fed99afd224cf301b7746df5bb.tar.gz
nextcloud-server-b17ca81df07166fed99afd224cf301b7746df5bb.zip
Merge pull request #6683 from nextcloud/filelist-show-navigate
navigate to the root directory when showing the main filelist
-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;