Commit graph

1053 commits

Author SHA1 Message Date
Nextcloud bot
228b07f665
[tx-robot] updated from transifex 2019-03-19 01:13:13 +00:00
Nextcloud bot
f6a7324efc
[tx-robot] updated from transifex 2019-03-14 16:09:06 +00:00
Nextcloud bot
4b997b1b2d
[tx-robot] updated from transifex 2019-02-27 01:12:35 +00:00
Nextcloud bot
68b24b7320
[tx-robot] updated from transifex 2019-02-21 01:12:31 +00:00
Nextcloud bot
dec7927eb8
[tx-robot] updated from transifex 2019-02-14 01:12:55 +00:00
Nextcloud bot
e965465f6b
[tx-robot] updated from transifex 2019-02-06 11:28:01 +00:00
Nextcloud bot
dcb368a69e
[tx-robot] updated from transifex 2019-01-20 01:12:59 +00:00
Nextcloud bot
1a4d519593
[tx-robot] updated from transifex 2019-01-19 01:12:49 +00:00
Nextcloud bot
d9a29dc4b4
[tx-robot] updated from transifex 2019-01-15 01:12:45 +00:00
Nextcloud bot
dcd1dbb609
[tx-robot] updated from transifex 2019-01-14 01:12:28 +00:00
Nextcloud bot
4cd18afb29
[tx-robot] updated from transifex 2019-01-04 01:12:57 +00:00
Nextcloud bot
aa4a4d4415
[tx-robot] updated from transifex 2018-12-28 01:12:15 +00:00
Nextcloud bot
224dbe15fd
[tx-robot] updated from transifex 2018-12-24 01:12:15 +00:00
Nextcloud bot
69798a20a4
[tx-robot] updated from transifex 2018-12-21 01:12:15 +00:00
Nextcloud bot
b677dadf18
[tx-robot] updated from transifex 2018-12-20 01:12:13 +00:00
Nextcloud bot
daea45c424
[tx-robot] updated from transifex 2018-12-19 01:12:16 +00:00
Nextcloud bot
a730ad16f1
[tx-robot] updated from transifex 2018-12-17 01:11:59 +00:00
Nextcloud bot
af3f951a33
[tx-robot] updated from transifex 2018-12-07 01:12:10 +00:00
Nextcloud bot
0d5f3d16e9
[tx-robot] updated from transifex 2018-12-04 01:12:34 +00:00
Nextcloud bot
8f80685426
[tx-robot] updated from transifex 2018-11-29 01:12:00 +00:00
Nextcloud bot
eca49de335
[tx-robot] updated from transifex 2018-11-27 01:11:59 +00:00
Nextcloud bot
c2000c295c
[tx-robot] updated from transifex 2018-11-15 01:12:32 +00:00
Nextcloud bot
450b9e2a20
[tx-robot] updated from transifex 2018-11-06 01:12:56 +00:00
Nextcloud bot
30666be2f0
[tx-robot] updated from transifex 2018-11-05 01:12:55 +00:00
Nextcloud bot
374bfbeaca
[tx-robot] updated from transifex 2018-11-04 01:14:21 +00:00
Nextcloud bot
7686c03111
[tx-robot] updated from transifex 2018-10-29 01:13:27 +00:00
Roeland Jago Douma
f4efa550c3
Merge pull request #11996 from nextcloud/stable13-11967-fix-opening-a-section-again-in-the-files-app
[stable13] Fix opening a section again in the Files app
2018-10-23 20:21:35 +02:00
Daniel Calviño Sánchez
4f5b072c74 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:02:54 +02:00
Nextcloud bot
5de5db0280
[tx-robot] updated from transifex 2018-10-23 14:54:51 +00:00
Nextcloud bot
8d96b3790d
[tx-robot] updated from transifex 2018-10-07 00:12:38 +00:00
Nextcloud bot
fbab9d66d6
[tx-robot] updated from transifex 2018-10-05 00:13:21 +00:00
Nextcloud bot
99c5005114
[tx-robot] updated from transifex 2018-10-04 00:12:27 +00:00
Nextcloud bot
8ef7d31599
[tx-robot] updated from transifex 2018-10-03 16:59:11 +00:00
Nextcloud bot
e07611ef09
[tx-robot] updated from transifex 2018-10-02 00:13:06 +00:00
Nextcloud bot
052469e5e4
[tx-robot] updated from transifex 2018-10-01 00:12:49 +00:00
Nextcloud bot
0201f011c1
[tx-robot] updated from transifex 2018-09-30 00:12:16 +00:00
Nextcloud bot
7695f02852
[tx-robot] updated from transifex 2018-09-29 00:12:26 +00:00
Nextcloud bot
f678794470
[tx-robot] updated from transifex 2018-09-26 00:12:33 +00:00
Nextcloud bot
8a0ced9d7e
[tx-robot] updated from transifex 2018-09-25 00:12:22 +00:00
Nextcloud bot
f2b6e38949
[tx-robot] updated from transifex 2018-09-21 00:12:22 +00:00
Nextcloud bot
ba97e60ffc
[tx-robot] updated from transifex 2018-09-17 00:12:40 +00:00
Nextcloud bot
2d9a488cf3
[tx-robot] updated from transifex 2018-09-14 00:12:43 +00:00
Nextcloud bot
95e2d5f170
[tx-robot] updated from transifex 2018-09-12 00:12:24 +00:00
Nextcloud bot
ef3789e16b
[tx-robot] updated from transifex 2018-09-09 00:13:18 +00:00
Nextcloud bot
972e8c3399
[tx-robot] updated from transifex 2018-09-06 00:13:04 +00:00
Nextcloud bot
90ab77d8bb
[tx-robot] updated from transifex 2018-09-01 00:12:27 +00:00
Nextcloud bot
9bde06aab3
[tx-robot] updated from transifex 2018-08-31 00:12:18 +00:00
Nextcloud bot
9db4afce72
[tx-robot] updated from transifex 2018-08-30 00:12:18 +00:00
Nextcloud bot
1769029910
[tx-robot] updated from transifex 2018-08-27 00:12:24 +00:00
Nextcloud bot
12a3f776a1
[tx-robot] updated from transifex 2018-08-24 00:12:32 +00:00