summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-04-21 09:35:34 -0500
committerGitHub <noreply@github.com>2017-04-21 09:35:34 -0500
commit56051665239fcf961a413f09c9ce16b5bbf7d04e (patch)
treeddf37b1c64550443dd1e5cfc939f7db991262bbf /apps
parent3a2a87d25ed12cf14bfbcde28508959e45841035 (diff)
parentc49def4a10d11989a7e5fe8d93d2e37bd1e59e82 (diff)
downloadnextcloud-server-56051665239fcf961a413f09c9ce16b5bbf7d04e.tar.gz
nextcloud-server-56051665239fcf961a413f09c9ce16b5bbf7d04e.zip
Merge pull request #4423 from nextcloud/reload-fav-view
properly reload favorites list
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/favoritesfilelist.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files/js/favoritesfilelist.js b/apps/files/js/favoritesfilelist.js
index 380689be10b..4c2cf3ce818 100644
--- a/apps/files/js/favoritesfilelist.js
+++ b/apps/files/js/favoritesfilelist.js
@@ -94,6 +94,12 @@ $(document).ready(function() {
}
return OCA.Files.FileList.prototype.reloadCallback.call(this, status, result);
+ },
+
+ _onUrlChanged: function (e) {
+ if (e && _.isString(e.dir)) {
+ this.changeDirectory(e.dir, false, true);
+ }
}
});