]> source.dussan.org Git - nextcloud-server.git/commit
Remove event handler no longer needed
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Fri, 19 Oct 2018 18:33:05 +0000 (20:33 +0200)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Tue, 23 Oct 2018 14:44:29 +0000 (16:44 +0200)
commit9801b5af363aa0cc9f8d947709b04901f7bc0b6e
tree939060ba84cad403934f1b6dcdd770d9c35cc8bf
parent73125667d4bbfca281e86b6e2d30364660682e06
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>
apps/files/js/favoritesfilelist.js
apps/files_sharing/js/sharedfilelist.js