From 8c01e45d6b6d57032e78c6c28877b99c28cf73de Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 11 Apr 2017 09:33:27 +0200 Subject: [PATCH] Do reload shared views Fixes #4248 The magic introduced in #3686 caused the shared views not to be updated properly. Thus we just overwrite the _onUrlChange method in the sharedfilelist. Signed-off-by: Roeland Jago Douma --- apps/files_sharing/js/sharedfilelist.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/files_sharing/js/sharedfilelist.js b/apps/files_sharing/js/sharedfilelist.js index dccd6027b0..326bd1b5bf 100644 --- a/apps/files_sharing/js/sharedfilelist.js +++ b/apps/files_sharing/js/sharedfilelist.js @@ -382,6 +382,12 @@ // Sort by expected sort comparator return files.sort(this._sortComparator); + }, + + _onUrlChanged: function(e) { + if (e && _.isString(e.dir)) { + this.changeDirectory(e.dir, false, true); + } } });