mirror of
https://github.com/transmission/transmission
synced 2025-03-20 10:45:43 +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:
parent
2eb7350f43
commit
cee1bfd139
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue