Changeset 12730


Ignore:
Timestamp:
Aug 24, 2011, 11:51:07 PM (10 years ago)
Author:
livings124
Message:

(trunk web) allow select all/deselect all in the files table when there's only a single file changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/transmission.js

    r12725 r12730  
    735735                        if (row.isEditable() && (torrent._files[i].wanted !== wanted))
    736736                                rows.push(row);
    737                 if (rows.length > 1) {
     737                if (rows.length > 0) {
    738738                        var command = wanted ? 'files-wanted' : 'files-unwanted';
    739739                        this.changeFileCommand(command, rows);
Note: See TracChangeset for help on using the changeset viewer.