]> source.dussan.org Git - nextcloud-server.git/commit
Fixed insertion of files
authorVincent Petry <pvince81@owncloud.com>
Fri, 4 Apr 2014 14:11:31 +0000 (16:11 +0200)
committerVincent Petry <pvince81@owncloud.com>
Mon, 28 Apr 2014 12:55:01 +0000 (14:55 +0200)
commit2883f231d0b08e8eea75715e912caa42f20d9682
tree766506e2e6f18154df8f50cd654ec982d56ce01a
parentf6586f6bdfe8f5b2175d9ee5e833ecb4ccbc5f7d
Fixed insertion of files

Removed "insert" flag, inserting is by default for FileList.add().
Added "animate" flag to FileList.add().
Added logic to correctly detect when to insert/append elements whenever
the insertion point is visible or not.
Fixed "render next page" logic to work correctly when many pages of
files have been added.
apps/files/js/file-upload.js
apps/files/js/filelist.js
apps/files/tests/js/fileactionsSpec.js
apps/files/tests/js/filelistSpec.js