]> source.dussan.org Git - nextcloud-server.git/commit
Do not reload the filelist on first open 4693/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Thu, 4 May 2017 11:23:04 +0000 (13:23 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 4 May 2017 11:29:49 +0000 (13:29 +0200)
commit8d66e325a9375dc06c8105a30e795965e1b73773
treecabee441f557b6b61529da375443e777c7a60298
parentb04102aab364a62c7a7c3f5cbae9fd0d672842f5
Do not reload the filelist on first open

Fixes: #4644
Without this patch the filelist would always reload. However since not
all the correct data was set yet it would often:

1. fireoff a propfind to ../webdav/
2. fireoff a propfind to ../webdav/<PATH>

When just opening the file list those are the same so the result is just
fine. However if opening a direct link it means that there is a race
condition on which finishes first.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/files/js/filelist.js
apps/files/tests/js/filelistSpec.js