When deleting files (one or many) via the checkbox selection, the first file in the list is also deleted.
Tested with 7.x-2.2 and Drupal 7.23 on IIS 7.5 (Windows Server 2008R2).
Steps to reproduce:
- visit the directory listing
- check one or more boxes next to a file
- choose "Delete selected items" from the actions list
- click the Process button
NOTE: The action confirmation message correctly identifies it will delete the additional file; however, the first file in the directory listing is always selected for deletion. It is not duplicated if only the first file is selected for deletion.
Expected behaviour is that only the selected file(s) are deleted.