aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_sharing/js/sharedfilelist.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files_sharing/js/sharedfilelist.js b/apps/files_sharing/js/sharedfilelist.js
index dccd6027b02..326bd1b5bf8 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);
+ }
}
});