diff options
author | Robin Appelman <robin@icewind.nl> | 2017-04-21 14:20:34 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2017-04-21 14:20:34 +0200 |
commit | c49def4a10d11989a7e5fe8d93d2e37bd1e59e82 (patch) | |
tree | 27910faa4c803f6839a7acc606517ec733dd3fd6 | |
parent | 140580f9d8468b8450f31dca997916a07693277f (diff) | |
download | nextcloud-server-c49def4a10d11989a7e5fe8d93d2e37bd1e59e82.tar.gz nextcloud-server-c49def4a10d11989a7e5fe8d93d2e37bd1e59e82.zip |
properly reload favorites list
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r-- | apps/files/js/favoritesfilelist.js | 6 |
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); + } } }); |