diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-10-19 20:33:05 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-10-21 20:21:59 +0200 |
commit | 0426ba6de5c367a07414a5dbf54e1774d83d8803 (patch) | |
tree | 9ed93fd1d73f542c8b61f75f314e9fdbd63a065c /apps/files/js/favoritesfilelist.js | |
parent | 449349e9010714e55e2667a7a84956720806581a (diff) | |
download | nextcloud-server-0426ba6de5c367a07414a5dbf54e1774d83d8803.tar.gz nextcloud-server-0426ba6de5c367a07414a5dbf54e1774d83d8803.zip |
Remove event handler no longer needed
The custom handler for "URL changed" events were added to reload the
file list whenever the sections for favorites and shares were opened;
this was used to fix the problem of not reloading the file lists when
opening them for a second time. However, besides that the handlers were
not really necessary, and as the root of the bug was fixed in the
previous commit those handlers are now removed.
The file list for tags uses the handler for a different purpose, though,
so that one was kept.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/files/js/favoritesfilelist.js')
-rw-r--r-- | apps/files/js/favoritesfilelist.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/files/js/favoritesfilelist.js b/apps/files/js/favoritesfilelist.js index 8c9c125d0a1..44adf5d7b5b 100644 --- a/apps/files/js/favoritesfilelist.js +++ b/apps/files/js/favoritesfilelist.js @@ -94,12 +94,6 @@ $(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); - } - } }); OCA.Files.FavoritesFileList = FavoritesFileList; |