Commit graph

4118 commits

Author SHA1 Message Date
Nextcloud bot
ae87ef22be
[tx-robot] updated from transifex 2018-11-18 01:13:26 +00:00
Nextcloud bot
e2c819f617
[tx-robot] updated from transifex 2018-11-16 01:12:43 +00:00
Nextcloud bot
eb1ce1b1aa
[tx-robot] updated from transifex 2018-11-15 01:12:40 +00:00
Nextcloud bot
5556100e23
[tx-robot] updated from transifex 2018-11-14 01:12:38 +00:00
Nextcloud bot
cede173efd
[tx-robot] updated from transifex 2018-11-13 01:13:14 +00:00
Nextcloud bot
b9139465bd
[tx-robot] updated from transifex 2018-11-12 01:13:14 +00:00
Nextcloud bot
fe059100ed
[tx-robot] updated from transifex 2018-11-08 01:12:46 +00:00
Nextcloud bot
e03038c41a
[tx-robot] updated from transifex 2018-11-07 01:12:57 +00:00
Nextcloud bot
665e51a87e
[tx-robot] updated from transifex 2018-11-06 01:13:06 +00:00
Nextcloud bot
269fc57818
[tx-robot] updated from transifex 2018-11-05 01:13:03 +00:00
Nextcloud bot
6f50c82b32
[tx-robot] updated from transifex 2018-11-04 01:14:29 +00:00
Nextcloud bot
ff163c4c4b
[tx-robot] updated from transifex 2018-11-01 01:13:31 +00:00
Nextcloud bot
fbf8b327cd
[tx-robot] updated from transifex 2018-10-29 01:13:36 +00:00
Nextcloud bot
0e7a2e7305
[tx-robot] updated from transifex 2018-10-28 00:13:15 +00:00
Nextcloud bot
e76c213b98
[tx-robot] updated from transifex 2018-10-27 00:13:03 +00:00
Nextcloud bot
ce4927b92b
[tx-robot] updated from transifex 2018-10-26 00:13:18 +00:00
Daniel Calviño Sánchez
ba07152164 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>
2018-10-23 17:46:34 +02:00
Daniel Calviño Sánchez
be878f2e76 Fix opening a section again in the Files app
When a section is open in the Files app a "show" event is triggered.
File list objects handle that event by reloading themselves, but only
if the file list was shown at least once. However, the file list objects
of plugins are created when the "show" event is triggered for the first
time for their section; as the file list objects register their handler
for the "show" event when they are created they never handle the first
triggered "show" event, as the handler is set while that event is being
already handled. Therefore, from the point of view of the handler, the
second time that a "show" event was triggered it was seen as if the file
list was shown for the first time, and thus it was not reloaded. Now the
"shown" property is explicitly set for those file lists that are created
while handling a "show" event, which causes them to be reloaded as
expected when opening their section again.

Note that it is not possible to just reload the file list whenever it is
shown; the file list is reloaded also when the directory changes, and
this can happen when the web page is initially loaded and the URL is
parsed. In that case, if file lists were reloaded when shown for the
first time then it could be reloaded twice, one with the default
parameters due to the "show" event and another one with the proper
parameters once the URL was parsed, and the files that appeard in the
list would depend on which response from the server was received the
last.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-10-23 17:46:34 +02:00
Nextcloud bot
6aa42e04db
[tx-robot] updated from transifex 2018-10-23 14:55:01 +00:00
Nextcloud bot
5114d13b79
[tx-robot] updated from transifex 2018-10-10 00:13:48 +00:00
Nextcloud bot
a4ee772932
[tx-robot] updated from transifex 2018-10-07 00:12:46 +00:00
Nextcloud bot
b6db4a3cb9
[tx-robot] updated from transifex 2018-10-05 00:13:31 +00:00
Nextcloud bot
325006368c
[tx-robot] updated from transifex 2018-10-04 00:12:36 +00:00
Nextcloud bot
c1cc61fde6
[tx-robot] updated from transifex 2018-10-03 16:59:22 +00:00
Nextcloud bot
b64c0c87b3
[tx-robot] updated from transifex 2018-10-02 00:13:17 +00:00
Nextcloud bot
19fd4a681b
[tx-robot] updated from transifex 2018-10-01 00:12:58 +00:00
Nextcloud bot
b60e1532ae
[tx-robot] updated from transifex 2018-09-30 00:12:24 +00:00
Nextcloud bot
1e1b457e9d
[tx-robot] updated from transifex 2018-09-29 00:12:36 +00:00
Nextcloud bot
1022d640c3
[tx-robot] updated from transifex 2018-09-28 11:14:31 +00:00
Nextcloud bot
a6304378b0
[tx-robot] updated from transifex 2018-09-27 00:12:45 +00:00
Nextcloud bot
e43d3783b8
[tx-robot] updated from transifex 2018-09-26 00:12:42 +00:00
Nextcloud bot
1cc7f61c8e
[tx-robot] updated from transifex 2018-09-25 00:12:33 +00:00
Nextcloud bot
27614cef82
[tx-robot] updated from transifex 2018-09-23 00:12:50 +00:00
Nextcloud bot
a877f0d15d
[tx-robot] updated from transifex 2018-09-22 00:12:28 +00:00
Nextcloud bot
f86b0c88b8
[tx-robot] updated from transifex 2018-09-17 00:12:48 +00:00
Nextcloud bot
ed18483a9a
[tx-robot] updated from transifex 2018-09-16 00:12:47 +00:00
Nextcloud bot
ab1fc23c34
[tx-robot] updated from transifex 2018-09-15 00:12:29 +00:00
Nextcloud bot
ce71114992
[tx-robot] updated from transifex 2018-09-14 00:12:52 +00:00
Nextcloud bot
5449658ee6
[tx-robot] updated from transifex 2018-09-13 00:12:32 +00:00
Nextcloud bot
9953ca98d9
[tx-robot] updated from transifex 2018-09-10 00:13:55 +00:00
Nextcloud bot
c81739f8c9
[tx-robot] updated from transifex 2018-09-08 00:12:50 +00:00
Nextcloud bot
2192122cb8
[tx-robot] updated from transifex 2018-09-04 00:12:35 +00:00
Nextcloud bot
bb61beffbf
[tx-robot] updated from transifex 2018-09-03 00:12:34 +00:00
Nextcloud bot
ae32113aab
[tx-robot] updated from transifex 2018-09-01 00:12:35 +00:00
Nextcloud bot
939aa098fc
[tx-robot] updated from transifex 2018-08-31 00:12:26 +00:00
Nextcloud bot
7f3b07657b
[tx-robot] updated from transifex 2018-08-30 00:12:27 +00:00
Nextcloud bot
2c6e30b0e5
[tx-robot] updated from transifex 2018-08-29 00:12:25 +00:00
Nextcloud bot
487dc0bf00
[tx-robot] updated from transifex 2018-08-27 00:12:32 +00:00
Nextcloud bot
8d0abdea76
[tx-robot] updated from transifex 2018-08-24 00:12:41 +00:00
Nextcloud bot
88ece8d11b
[tx-robot] updated from transifex 2018-08-23 00:13:21 +00:00