mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
(trunk web) allow select all/deselect all in the files table when there's only a single file changed
This commit is contained in:
@@ -734,7 +734,7 @@ Transmission.prototype =
|
||||
for (var i=0, row; row=this._files[i]; ++i)
|
||||
if (row.isEditable() && (torrent._files[i].wanted !== wanted))
|
||||
rows.push(row);
|
||||
if (rows.length > 1) {
|
||||
if (rows.length > 0) {
|
||||
var command = wanted ? 'files-wanted' : 'files-unwanted';
|
||||
this.changeFileCommand(command, rows);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user