Skip to content
Snippets Groups Projects
  • Vincent Petry's avatar
    fd982df6
    Fixed selection to be based on FileList.files · fd982df6
    Vincent Petry authored
    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)
    fd982df6
    History
    Fixed selection to be based on FileList.files
    Vincent Petry authored
    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)
files.js 15.76 KiB