]> source.dussan.org Git - nextcloud-server.git/commit
Fixed selection to be based on FileList.files
authorVincent Petry <pvince81@owncloud.com>
Fri, 4 Apr 2014 16:46:08 +0000 (18:46 +0200)
committerVincent Petry <pvince81@owncloud.com>
Mon, 28 Apr 2014 12:55:01 +0000 (14:55 +0200)
commitfd982df6aea09492e02cc65de02ee8250a1a229c
treee3ed5de2072c3110147db0c411e153e98d0abf32
parenta952d80ad9e57931f6a8fcb94ef6cab4f982149c
Fixed selection to be based on FileList.files

The file selection is now based on the internal model array
FileList.files instead of the visible checkboxes.

This makes it possible to virtually select files that haven't been
rendered yet (select all, then deselect a visible one)

Added more unit tests for selection (with shift and ctrl as well)
apps/files/js/filelist.js
apps/files/js/files.js
apps/files/js/filesummary.js
apps/files/tests/js/filelistSpec.js
apps/files_trashbin/js/filelist.js