Changeset 12763


Ignore:
Timestamp:
Aug 26, 2011, 10:59:42 PM (10 years ago)
Author:
jordan
Message:

(trunk web) safeguard against exceptions when sorting-by-name when a torrent's name hasn't yet finished downloading.

File:
1 edited

Legend:

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

    r12761 r12763  
    286286                                f.collatedName = name.toLowerCase();
    287287                }
    288                 return f.collatedName;
     288                return f.collatedName || '';
    289289        },
    290290        getCollatedTrackers: function() {
     
    295295                                f.collatedTrackers = this.collateTrackers(trackers);
    296296                }
    297                 return f.collatedTrackers;
     297                return f.collatedTrackers || '';
    298298        },
    299299
Note: See TracChangeset for help on using the changeset viewer.