summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files')
-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);
+ }
}
});